• 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: Jon Hess <email@hidden>
  • Date: Sun, 09 Dec 2007 12:32:36 -0800

Hey James -

On Dec 9, 2007, at 10:16 AM, James Bucanek <email@hidden> wrote:

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.


This is actually only true on 10.4 and previous versions of Mac OS X. On 10.5 it is fully supported.


Jon Hess

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
_______________________________________________

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


References: 
 >Re: IB 3 z-order problem (From: James Bucanek <email@hidden>)

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