Re: Help visualizing something in IB
Re: Help visualizing something in IB
- Subject: Re: Help visualizing something in IB
- From: Quincey Morris <email@hidden>
- Date: Thu, 11 Mar 2010 16:43:54 -0800
On Mar 11, 2010, at 10:58, Brian Postow wrote:
> I should be able to just use the clipRect of the superview, right?
Well, you have to observe something that produces notifications -- which means the bounds or frame of a view. You're likely not interested in the actual bounds or frame you're being notified about. You just want to be told when something that matters changes. Once you've received a notification, I think you'll simply want to examine the visibleRect of topView. Basically, if I understand correctly, you'll want to position the button view at the top of the visibleRect, and the image view in the rest of the visibleRect, and also handle the edge cases where there isn't enough room to show those subviews.
_______________________________________________
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