Re: IB Object Stacking Order
Re: IB Object Stacking Order
- Subject: Re: IB Object Stacking Order
- From: Andy Lee <email@hidden>
- Date: Sat, 21 May 2005 11:12:11 -0400
On May 21, 2005, at 11:00 AM, Boisy G. Pitre wrote:
This has me perplexed. Is as though the back/front stacking is
working differently in the application than in IB. Has anyone else
seen this in XCode 2.0?
According to the docs on the -subviews method of NSView, the drawing
order of subviews is not guaranteed:
- (NSArray *)subviews
Return the receiver’s immediate subviews. The order of the subviews
may be considered as being back-to-front, but this does not imply
invalidation and drawing behavior. The order is based on the order of
the receiver's subviews as specified in the nib file from which they
were unarchived or the programmatic interface for modifying the
receiver's subview list. This ordering is also the reverse of the
order in which hit-testing is done.
--Andy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden