Which is the design pattern that Objective-C Blocks and Notifications use?
I am aware that Notifications use Observer pattern (publish-subscribe pattern) but not sure about Blocks.
Can somebody shed some light on the design pattern used by Blocks?
Note: This was one of the questions asked in my iOS interviews.
Aucun commentaire:
Enregistrer un commentaire