Re: Overlapping sibling views
Re: Overlapping sibling views
- Subject: Re: Overlapping sibling views
- From: Quincey Morris <email@hidden>
- Date: Tue, 30 Apr 2013 19:03:32 -0700
On Apr 30, 2013, at 18:37 , Gideon King <email@hidden> wrote:
> How did you test it? Did you sort the views at all, or just leave them in the order they were instantiated?
My hierarchy is very simple. The content view contains a single view (which layer-backed in order to use a background color), and that view contains two child views whose order is set in IB. I made no programmatic adjustments to anything. The only change from my original attempt was to make all of the views layer-backed in IB. Both child views are custom views, and they both return NO for "isOpaque".
I did, however, verify that the order of the child views was correct and hadn't been inadvertently switched somewhere in nib loading. The view order was correct.
> Did you try Sean's workaround?
No, but I have no doubt it works as he says.
_______________________________________________
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