• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: IB Object Stacking Order
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >IB Object Stacking Order (From: "Boisy G. Pitre" <email@hidden>)

  • Prev by Date: IB Object Stacking Order
  • Next by Date: Re: NSFileManager and Mac OS X: fully compatible before the end of days?
  • Previous by thread: IB Object Stacking Order
  • Next by thread: Strategy for using common classes in multiple Cocoa plug-ins?
  • Index(es):
    • Date
    • Thread