what is protocol? . The use of protocol?
Answer / 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 |
Have you uploaded app on appstore? What is the process?
Which is the framework that is used to construct application’s user interface for ios?
What are the limits of accessibility ?
What are ios functions?
When a nsfetchrequest fetches an entity object from store, does it fetch all of its data at once?
What is gcd ios?
What is delegate method?
What NSAutorelease pool
What is completion handler in ios?
Explain Inapp purchase in iOS
What is mvc design pattern in ios?
What is strong in ios?