April 2011
2 posts
Didn’t we used to make fun of Eclipse for stuff like this?
– I could not agree more. (via The Powers of Observation)
Be very careful when calling...
rentzsch:
Samuel Défago:
Never ever use -[NSNotificationCenter removeObserver:] to unregister from notification events, except from a dealloc method. This might cancel registrations made by a parent class, and you cannot know how a parent class is implemented (at least you shouldn’t care). Stick to this rule even if your parent class is NSObject: Your class hierarchy might change in the...