Theory: Delegate patterns in Cocoa

The delegate pattern is a common and useful pattern in cocoa's environment like  properties and will be easy to implement if you have clear what you want to do. The first thing we need to know will be the concept of 'protocol', this is basically a declaration which methods are between two classes and...