Re: Undocumented Leopard support for overlapping sibling views
Re: Undocumented Leopard support for overlapping sibling views
- Subject: Re: Undocumented Leopard support for overlapping sibling views
- From: j o a r <email@hidden>
- Date: Thu, 28 Aug 2008 13:46:51 -0700
On Aug 28, 2008, at 1: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).
However, the official documentation (http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaViewsGuide/WorkingWithAViewHierarchy/chapter_5_section_5.html
) still says:
"Cocoa does not enforce clipping among sibling views or guarantee
correct invalidation and drawing behavior when sibling views
overlap. If you want a view to be drawn in front of another view,
you should make the front view a subview (or descendant) of the rear
view."
And Interface Builder 3.1 on the one hand has options like "Layout >
Send to Front" that change the ordering of subviews, yet on the
other still warns about "Illegal geometry" when a view overlaps one
of its siblings even when the deployment target is set to 10.5.
I can't find anything in the documentation (or even release notes)
that describes that/how overlapping views are supported. Why isn't
this documented? Can we rely on overlapping sibling views working
now and in the future? Are there any caveats we should be aware of?
Hello,
Please file a couple of bug reports on this:
<http://developer.apple.com/bugreporter/>
Thanks!
j o a r
_______________________________________________
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