Re:NSNotificationCenter with blocks considered harmful
by chrisdevereux on Wednesday November 20, 2013 @08:50AM
(#6767911)
Another issue with NSAssert is that it's #ifdef-ed out in release mode.
So it can introduce reference cycles that only exist in debug mode, that prevent you from spotting premature deallocations that only become apparent in release mode.
(Of course, you QA in release mode. But it's annoying not catching that stuff early)
So it can introduce reference cycles that only exist in debug mode, that prevent you from spotting premature deallocations that only become apparent in release mode.
(Of course, you QA in release mode. But it's annoying not catching that stuff early)