About Objective-C Blocks vs Delegates
I’m having this mental discussion and I found this interesting response about blocks and delegates… So, maybe there is no versus between them.
“So, as a rule of thumb, a delegate protocol is correct when there’s a need for ongoing communication, the actions causing the communication are diffuse or the actions are emanating from a third source. Blocks are primarily associated with asynchronous actions and single-shot classes in particular.”
