Re: Help visualizing something in IB

2010-03-12 Thread Brian Postow
On Mar 11, 2010, at 7:43 PM, Quincey Morris wrote: > 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'r

Re: Help visualizing something in IB

2010-03-11 Thread Quincey Morris
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 be

Re: Help visualizing something in IB

2010-03-11 Thread Brian Postow
On Mar 11, 2010, at 1:04 PM, Quincey Morris wrote: > On Mar 10, 2010, at 8:04 PM, Quincey Morris wrote: > >> If you must follow this approach, then I'd suggest you register to get >> frame-changed notifications from topView. That way, you'll know if it moved >> within the window, or if it was

Re: Help visualizing something in IB

2010-03-11 Thread Quincey Morris
On Mar 10, 2010, at 8:04 PM, Quincey Morris wrote: > If you must follow this approach, then I'd suggest you register to get > frame-changed notifications from topView. That way, you'll know if it moved > within the window, or if it was resized as a result of the window/enclosing > view resizing

Re: Help visualizing something in IB

2010-03-11 Thread Brian Postow
On Mar 10, 2010, at 8:04 PM, Quincey Morris wrote: > On Mar 10, 2010, at 15:54, Brian Postow wrote: > >> Basically, I want the topView to scroll, but I always want to be able to see >> the buttonView. So if part of the topView isn't visible because it's been >> scrolled up, I want the buttonvi

Re: Help visualizing something in IB

2010-03-10 Thread Quincey Morris
On Mar 10, 2010, at 15:54, Brian Postow wrote: > Basically, I want the topView to scroll, but I always want to be able to see > the buttonView. So if part of the topView isn't visible because it's been > scrolled up, I want the buttonview at the top of the screen. > > I think what I want is to

Re: Help visualizing something in IB

2010-03-10 Thread Klaus Backert
On 11 Mar 2010, at 00:54, Brian Postow wrote: Basically, I want the topView to scroll, but I always want to be able to see the buttonView. So if part of the topView isn't visible because it's been scrolled up, I want the buttonview at the top of the screen. This looks like you just do *n

Re: Help visualizing something in IB

2010-03-10 Thread Brian Postow
On Mar 10, 2010, at 6:36 PM, Quincey Morris wrote: > On Mar 10, 2010, at 14:58, Brian Postow wrote: > >> Let say I have three views inside a scrollview with some other content. Top, >> buttons and image. buttons and image are both inside top. Top does NOT fill >> up the scrollview, however, bu

Re: Help visualizing something in IB

2010-03-10 Thread Quincey Morris
On Mar 10, 2010, at 14:58, Brian Postow wrote: > Let say I have three views inside a scrollview with some other content. Top, > buttons and image. buttons and image are both inside top. Top does NOT fill > up the scrollview, however, buttons and image DO fill up top. Top has a > maximum size de

Help visualizing something in IB

2010-03-10 Thread Brian Postow
I'm having trouble visualizing something. Let say I have three views inside a scrollview with some other content. Top, buttons and image. buttons and image are both inside top. Top does NOT fill up the scrollview, however, buttons and image DO fill up top. Top has a maximum size determined at r