Answer Posted / babu
Protocol is the named list of independent methods. Protocol declaration having two sections
@required
In this section you will declare all required methods. If a class adopting this protocol should implement all required methods
@optional
In this section you will declare all optional methods.
Eg: @protocol myViewProtocol
@required
-(void)passDataToNextClass : (NSString*)myViewName
@optional
-(void)passDataToNextClass : (NSString*)myViewName
@end
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Differentiate 'app id' from 'bundle id'.
What is singleton class in ios?
How do you create a fetched property?
Explain about the applications that can be used with iphone ?
What is suspended state in ios?
What is iphone reference library?
Functionality of accelerometer of an iphone
What is delegation pattern in ios?
Define encoding or serialization??
Describe what “app thinning” means ?
Is xcode a framework?
What is delegate in ios objective c?
Will iphone 6 get ios 13?
What is concurrency in ios?
Explain the steps involved in submitting the App to App-Store in iOS operating system?