What is the difference between delegates and notifications?
2161
06-Aug-2015
Updated on 18-Sep-2020
Anonymous User
06-Aug-2015Delegates and Notifications
A delegate uses protocols and creates a has-a relationship between the two classes. One of the other benefits of delegates is that you can return something back to the owning class.Notifications are more geared towards point to multipoint communication.Delegates create relationships between classes. Notifications are used to send events to one or many classes.we have to use delegate to specified known object.notification for all object.