Blocks vs Delegates [duplicate]
Possible Duplicate: Do code blocks completely replace delegates? I just encountered the following declaration from a forum: "Delegates is the past. Blocks are the future." 1) Are blocks the preferred way to do 'delegation' duties over delegates? 2) Is there any particular benefit of using a delegate vs a block? I think there's a slight misunderstanding in what delegates do and what blocks do. In Objective-C, there are three ways to handle callbacks: Delegation -> where you make one object the delegate of another object and you have to specify which kinds of events generated by the "parent"