开发者

How do protocols in Objective C work? [duplicate]

This question already has answers here: Clos开发者_运维问答ed 11 years ago.

Possible Duplicate:

Objective-c - Purpose of categories and protocols

Can anyone justify @protocol mechanism of Objective C in simple words. Like,

  1. Defining protocol
  2. Implementing protocol
  3. Other alternatives of protocol


You can find a good introduction on protocols at Apple's developer site, as well as on WikiBooks.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜