Featured post

Difference between protocol and delegates?

A protocol, declared with the ( @protocol syntax in Objective-C) is used to declare a set of methods that a class "adopts" (de...

Thursday, 9 April 2015

Difference between a delegate and NSNotification.

Delegate and NSNotifications are used to accomplish nearly the same functionalities.However,delegates are one to one but NsNotifications are one to many.
Delegate can send message to one object at a time but NSNotifications can send message to all the objects of that Application. 

No comments:

Post a Comment