• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Help visualizing something in IB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help visualizing something in IB


  • Subject: Re: Help visualizing something in IB
  • From: Brian Postow <email@hidden>
  • Date: Thu, 11 Mar 2010 13:58:35 -0500

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 resized as a result of the window/enclosing view resizing. Also, turn off auto-resizing for subviews of topView.
>
> For completeness:
>
> I didn't think this through properly. Your topView is inside a view that's what is actually scrolled (the scroll view's "documentView"), so the topView frame won't change as a result of scrolling. I think what you'd need would be to observe the scroll view's clipView's bounds, which should change on either scrolling or resizing. If you ever get to doing this, you'll have to experiment to find the right thing to observe, and it's possible you might have to observe multiple views to catch all the cases.
>


I should be able to just use the clipRect of the superview, right?

Brian Postow
Senior Software Engineer
Acordex Imaging Systems

_______________________________________________

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

  • Follow-Ups:
    • Re: Help visualizing something in IB
      • From: Quincey Morris <email@hidden>
References: 
 >Help visualizing something in IB (From: Brian Postow <email@hidden>)
 >Re: Help visualizing something in IB (From: Quincey Morris <email@hidden>)
 >Re: Help visualizing something in IB (From: Brian Postow <email@hidden>)
 >Re: Help visualizing something in IB (From: Quincey Morris <email@hidden>)
 >Re: Help visualizing something in IB (From: Brian Postow <email@hidden>)
 >Re: Help visualizing something in IB (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: NSTableView _dataSourceValueForColumn:row: failure
  • Next by Date: Re: NSTextView backed by core data, undo problems
  • Previous by thread: Re: Help visualizing something in IB
  • Next by thread: Re: Help visualizing something in IB
  • Index(es):
    • Date
    • Thread