Undocumented Leopard support for overlapping sibling views
Undocumented Leopard support for overlapping sibling views
- Subject: Undocumented Leopard support for overlapping sibling views
- From: Nathan Vander Wilt <email@hidden>
- Date: Thu, 28 Aug 2008 13:28:29 -0700
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?
thanks,
-natevw
_______________________________________________
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