It is sometimes needed¬†for a UIView subclass to register as an NSNotificationCenter observer. However, there seems to be no good place for adding/removing NSNotificationCenter observers…¬†The best place, I have found so far, is in willMoveToWindow: and didMoveToWindow