• 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: IB 3 z-order problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IB 3 z-order problem


  • Subject: Re: IB 3 z-order problem
  • From: James Bucanek <email@hidden>
  • Date: Sun, 9 Dec 2007 11:16:41 -0700

Wdyp <mailto:email@hidden> wrote (Sunday, December 9, 2007 9:44 AM +0100):
Has anyone else noticed that the front-back order in IB seems not to work properly?

There's no Z-ordering problem in IB because there's no Z-ordering.

Cocoa/IB do not support overlapping NSViews, so all order issues are either ignored or arbitrary. The behaviour of overlapping NSViews is undefined and unpredictable.

From <http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaViewsGuide/CocoaViewsGuide.pdf>:

Note: For performance reasons, Cocoa does not enforce clipping among
sibling views or guarantee correct invalidation and drawing behavior
when sibling views overlap. If you want a view to be drawn in front of
another view, you should make the front view a subview (or descendant)
of the rear view.


--
James Bucanek

_______________________________________________

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: IB 3 z-order problem
      • From: Scott Anguish <email@hidden>
    • Re: IB 3 z-order problem
      • From: Jon Hess <email@hidden>
References: 
 >IB 3 z-order problem (From: Wdyp <email@hidden>)

  • Prev by Date: Re: trouble keeping NSTableView sorted
  • Next by Date: Re: Newbie: compare version string
  • Previous by thread: IB 3 z-order problem
  • Next by thread: Re: IB 3 z-order problem
  • Index(es):
    • Date
    • Thread