So I have a FeatureTutorialDelegate
protocol with one buttonPressed()
method. I have a FeatureTutorialViewController
that functions as the delegate. A PageViewController
calls these FeatureTutorialViewController
classes. The different pages have multiple buttons.
How do I make the different buttons do different things with the buttonPressed()
method? I need the button to dismiss the tutorial, open other ViewControllers, etc, depending on which tutorial page the user taps the button on.