Re: How to find all clipping siblings for a view?
Re: How to find all clipping siblings for a view?
- Subject: Re: How to find all clipping siblings for a view?
- From: "Paul Sanders" <email@hidden>
- Date: Fri, 16 Apr 2010 17:19:59 +0100
> Historically Cocoa did not support overlapping sibling views at all, so there was no concept of z-order
> (other than a child view being in front of its parent.) There is some support for it now, but I’m not
> sure how extensive it is, e.g. whether it only applies to layer-backed views or not.
It works OK with non layer-backed views in my experience, but you do get a build warning if sibling views overlap in a nib. Sibling views are drawn in the order they appear in the parent's list of subviews (or possibly the inverse order, I don't precisely recall). The exact effect you get depends on whether they erase the background first and suchlike.
Paul Sanders.
_______________________________________________
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