Protocols in Objective-C help to define and standarize ways of communication between loosely coupled objects. A protocol is like an interface in other languages like Java. A class implementing a protocol promises to deal successfuly with the protocol methods. This allows smooth communication between objects. The object implementing a protocol (let's name it 'object A') has to deal with the protocol methods on its own. On the other hand, an object requiring the protocol implementation (object B) does not care how the protocol methods are impelemented by object A. What matters is that object A agrees to implement protocol methods, so object B can send messages to object A assuming that everything will work fine. There is no formal relationship between objects A and B required.
I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.
Stay tuned to my blog, twitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.
Stay tuned to my blog, twitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.
This article is related to
iPad,iPhone,iPhone Resources,iPhone Articles,iPhone Development,iPhone Turorial,Mobile Development Tutorials,Mobile Developments,Objective C
iPad,iPhone,iPhone Resources,iPhone Articles,iPhone Development,iPhone Turorial,Mobile Development Tutorials,Mobile Developments,Objective C
0 Comments