Re: IB 3 z-order problem
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