In iOS,I would like to include both a delegate for the flipsideView (from a Utility Application template) and a delegate to allow to scroll the view.
My attempt, which does not work, is:
@interface MainViewController : UIViewController
<FlipsideViewControllerDelegate> <UIScrollViewDelegate> {
}
I tried to place a comma (,) or a space between the two <>, but it does not work.
Would someone be able and willing to help me concerning this question?
Thank you in advance for your help
Do it this way:
The syntax is as follows:
For example for multiple protocols:
You can read more on protocols and how to adopt and conform in Apple’s official Documentation.