Delegate vs Notification in iOS


Both terminology provide a way by which iOS object communication to each other in iOS application Delegate faster creates a has-a relationship between the two classes Good architecure, You gain compile time checking for required methods when you useĀ  protocols with your delegates, so you know when you compile if you're missing any required methods... Continue Reading →

Advertisements

Delegates in iOS


Example for delegateLet's assume an object A calls object B to perform an action, once the action is complete object A should know that B has completed the task and take necessary action. This is achieved with the help of delegates.The key concepts in the above example are,A is delegate object of BB will have... Continue Reading →

Blog at WordPress.com.

Up ↑

%d bloggers like this: