Skip to content

January 21, 2014

Add multiple delegate protocols in view

by noise

If you want to add more than one delegate you will add them in the same place and it will be comma separated:

@interface MyAppViewController : UIViewController<UIAccelerometerDelegate, UITextFieldDelegate>
Read more from Dev Tips

Leave a Reply

required
required

Note: HTML is allowed. Your email address will never be published.

Subscribe to comments