interface - what is protocol in objective-c -
possible duplicate:
what protocol
hi,
how use protocol in objective-c ? advantage of .?
thank , regards+
protocols have many advantages. idea provide way classes share same method , property declarations without inheriting them common ancestor. useful in objective-c when using delegation pattern, on ios , mac os sdks rely heavily. there's plenty of information out there on subject, including overview in apple's developer documentation.
Comments
Post a Comment