Re: Autorotation for a subview
Re: Autorotation for a subview
- Subject: Re: Autorotation for a subview
- From: Matt Neuburg <email@hidden>
- Date: Tue, 22 Dec 2009 15:37:39 -0800
On Dec 22, 2009, at 2:15 PM, Henry McGilton (Boulevardier) wrote:
This sounds like a good time for the view to post an
NSNotification. The
subview can then respond to it. m.
Sounds like overkill --- swatting mosquitoes with sledgehammers.
An NSNotification is not a sledgehammer. And letting interested
listeners know that a certain key moment in the lifetime of the
application has been reached, is not a mosquito. Indeed, this is why
something like UIApplicationDidFinishLaunchingNotification *is* a
notification. Sometimes the delegate or subclass instance is not the
only interested party; the moment where
didRotateFromInterfaceOrientation: arrives might be such a case.
m.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden