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 |
What is difference between shallow copy and deep copy in ios ? : IOS Architect
What are the sorts of ios binaries you can make utilizing xcode?
What is App Bundle in iOS operating system?
0 Answers TryTechnicals Pvt Ltd,
What is nsmanagedobjectcontext? What are the different concurrency types? Explain each type.
How to generate a protected disk image containing your csr, private key and development certificate in iphone development?
What is Delegation in iOS?
What is messaging? How does the runtime handle message passing? What is message forwarding?
What’s the difference between an “app id” and a “bundle id” and what is each used for?
What is iphone reference library?
What is callback in ios?
What is difference between static library and framework?
What is ios application life cycle?