Possible Duplicate:
What is the difference between Notifications, Delegates, and Protocols?
I am new in Objective C. Would like to understand the concept of Protocols
and Delegates
in a few words. Like under what situation should I consider declaring a Protocol
, and then consume it in my classes as delegates or let other classes consume it.
Instead of Protocols
why can't I make my classes do the same job?
Thanks for your time.