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: Jonathan Hess <email@hidden>
- Date: Sat, 17 Apr 2010 13:23:28 -0700
On Apr 17, 2010, at 12:50 PM, Alexander Bokovikov wrote:
>
> On 18.04.2010, at 1:29, Jonathan Hess wrote:
>
>>
>> On Apr 16, 2010, at 10:47 AM, Kyle Sluder wrote:
>>
>>> On Fri, Apr 16, 2010 at 10:37 AM, Corbin Dunn <email@hidden> wrote:
>>>> You can't control it in IB (short of removing the view and adding it back in). But in code, you can just call -addSubview:positioned:relativeTo: to move views around in the Z order.
>>>
>>> IB has Send Forward/Backward items on its Layout menu. Whether they
>>> work or not is another question entirely... :)
>>
>> They work.
>>
>> You can also change the z-order of a view-hierarchy with drag-and-drop in the document outline view since version 3.1.
>
> Of course I used these features of IB. The only what I can tell -- it is very ugly. I'd say, IB is just fails to work with many overlapped objects. For example any imprudent dragging of an overlapping view automatically inserts it into a lower view. And there is no way to return it back but to drag it in the tree-shaped window view.
That can be frustrating, but you can always use undo to revert your inadvertent changes.
> Really this was designed not for overlapping objects...
When I mentioned using the "document outline view" view above, I meant the view that you referred to as "tree-shaped window view". That view is good for changing the z-order of views by drag and drop.
Jon Hess
>
> Thanks.
_______________________________________________
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