Re:NSNotificationCenter with blocks considered harmful
by chc on Wednesday November 20, 2013 @01:50PM
(#6770127)
Do you mean the code examples in articles or the projects that you can download? Because I haven't looked at their downloadable samples in quite some time, but their docs always seem alright to me.
[ Parent
| on HN ]
Re:NSNotificationCenter with blocks considered harmful
by seandougall on Wednesday November 20, 2013 @05:18PM
(#6771609)
Both, in my experience. The downloadable code is usually a rush job and has all sorts of sloppiness and missed edge cases. The code in the docs is usually cleaner (because it's just excerpts), but doesn't always get updated when APIs change.