Re: NSView behaves different on 10.4 vs 10.5?
Re: NSView behaves different on 10.4 vs 10.5?
- Subject: Re: NSView behaves different on 10.4 vs 10.5?
- From: Corbin Dunn <email@hidden>
- Date: Thu, 29 Jan 2009 07:39:43 -0800
Le Jan 29, 2009 à 5:13 AM, Carlos Eduardo Mello a écrit :
On Jan 29, 2009, at 12:56 AM, Jim Correia wrote:
On Jan 28, 2009, at 9:44 PM, Adam Gerson wrote:
"For performance reasons, Cocoa does not enforce clipping among
sibling views or guarantee correct invalidation and drawing
behavior
when sibling views overlap."
It is my understanding that this piece of documentation is out of
date, and that on 10.5 and later overlapping sibling views are
fully supported.
I wouldn't mind having a definitive answer to this question (Apple
guys?), because my UI design would need to be completely different
depending on this info:
Overlapping views work on Leopard, but do not work before that. The
documentation is out of date.
I have a group of views, each one with many smaller views inside,
which need to be presented in an overlapping manner over the same
rect on a window, so that they can be seen through each other. In my
preliminary tests, I made each big view a sibling of a single
background view. Was planning on bringing each one to the front,
when necessary by re-arranging the z-order. Is there any future (or
present) in this appoach?
That will work on Leopard.
corbin
_______________________________________________
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