• 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: Undocumented Leopard support for overlapping sibling views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Undocumented Leopard support for overlapping sibling views


  • Subject: Re: Undocumented Leopard support for overlapping sibling views
  • From: Andy Lee <email@hidden>
  • Date: Thu, 28 Aug 2008 17:46:43 -0400

On Aug 28, 2008, at 5:09 PM, Ken Thomases wrote:

On Aug 28, 2008, at 3:28 PM, Nathan Vander Wilt wrote:

According to two list postings (http://lists.apple.com/archives/cocoa-dev/2007/Nov/msg01760.html , http://lists.apple.com/archives/cocoa-dev/2007/Nov/msg01764.html) both by Apple employees, overlapping sibling subviews are fully supported in Leopard (and presumably beyond).

Interesting. I hadn't noticed that discussion. I'm glad you brought it to my attention.


[...]
Off to file a documentation bug...

The NSView class reference says:

addSubview:
Adds a view to the receiver’s subviews so it’s displayed above its siblings.


[...]

addSubview:positioned:relativeTo:
Inserts a view among the receiver’s subviews so it’s displayed immediately above or below another view.



I don't remember if the z-ordering was documented as guaranteed before.

I just submitted feedback using the link at the bottom of the NSView class reference:

"The docs for -addSubview and -addSubview:positioned:relativeTo: should make clear that z-ordering is only guaranteed starting in 10.5 (unless it was really guaranteed all along but you couldn't be sure it always would be)."

--Andy


_______________________________________________

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


  • Follow-Ups:
    • Re: Undocumented Leopard support for overlapping sibling views
      • From: Ken Thomases <email@hidden>
References: 
 >Undocumented Leopard support for overlapping sibling views (From: Nathan Vander Wilt <email@hidden>)
 >Re: Undocumented Leopard support for overlapping sibling views (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: Undocumented Leopard support for overlapping sibling views
  • Next by Date: Re: Remove an object from a defaults suite?
  • Previous by thread: Re: Undocumented Leopard support for overlapping sibling views
  • Next by thread: Re: Undocumented Leopard support for overlapping sibling views
  • Index(es):
    • Date
    • Thread