Delegate and notification is a means of communication between objects of iOS applications. A delegate is for one-to-one (bidirectional) communication. In delegation the class raising events will have a property for the delegate and will typically expect it to implement some protocol.The broadcasting class does not need to know anything about the listeners for this event, so notification is useful in helping to decouple components in an application. Notification allows a class to broadcast events across the entire application. Notifications are for to-many, unidirectional communication.
Join MindStick Community
You need to log in or register to vote on answers or questions.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
Can you answer this question?
Write Answer1 Answers