Re: Autorotation for a subview

2009-12-23 Thread Alexander Spohr
Eric, 1. Can’t you use autoresizingMask for all subviews? You can do pretty much automagic with it. Just let your Button hang to the lower and right borders. A view should not resize/reposition itself. 2. Don’t put the view of controller B into a view of controller A. Why not presentModalViewCon

Re: Autorotation for a subview

2009-12-22 Thread mmalc Crawford
On Dec 22, 2009, at 5:09 pm, Eric E. Dolecki wrote: > I already stated (I believe) that I needed to redo the way this application > is being constructed. In this way I'll have more direct access to subviews. I > originally created another view controller with it's own nib and I was indeed > lo

Re: Autorotation for a subview

2009-12-22 Thread Eric E. Dolecki
I already stated (I believe) that I needed to redo the way this application is being constructed. In this way I'll have more direct access to subviews. I originally created another view controller with it's own nib and I was indeed loading it and using it as a subview to my main view. No leaks sinc

Re: Autorotation for a subview

2009-12-22 Thread mmalc Crawford
On Dec 22, 2009, at 3:37 pm, Matt Neuburg 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 in

Re: Autorotation for a subview

2009-12-22 Thread Eric E. Dolecki
Thanks all for the insight so far. I'm calling methods into the view - but I think I need to redo how it works. I am interested in NSNotification as I haven't used that yet. On Tue, Dec 22, 2009 at 6:37 PM, Matt Neuburg wrote: > > On Dec 22, 2009, at 2:15 PM, Henry McGilton (Boulevardier) wrote:

Re: Autorotation for a subview

2009-12-22 Thread Matt Neuburg
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 letti

Re: Autorotation for a subview

2009-12-22 Thread Boulevardier
On Dec 22, 2009, at 11:01 AM, Matt Neuburg wrote: > On Tue, 22 Dec 2009 12:51:35 -0500, "Eric E. Dolecki" > said: >> I have a view which controls it's UI when rotated. However, if there is a >> subView in place, it rotates and I'd like to control it's UI too. In my >> subView the willAnimateRota

Re: Autorotation for a subview

2009-12-22 Thread glenn andreas
On Dec 22, 2009, at 1:01 PM, Matt Neuburg wrote: > On Tue, 22 Dec 2009 12:51:35 -0500, "Eric E. Dolecki" > said: >> I have a view which controls it's UI when rotated. However, if there is a >> subView in place, it rotates and I'd like to control it's UI too. In my >> subView the willAnimateRotat

Re: Autorotation for a subview

2009-12-22 Thread Matt Neuburg
On Tue, 22 Dec 2009 12:51:35 -0500, "Eric E. Dolecki" said: >I have a view which controls it's UI when rotated. However, if there is a >subView in place, it rotates and I'd like to control it's UI too. In my >subView the willAnimateRotationToInterfaceOrientation doesn't get fired. I >set up the sh