Re: Changing order of views dynamically
Re: Changing order of views dynamically
- Subject: Re: Changing order of views dynamically
- From: Shawn Erickson <email@hidden>
- Date: Tue, 20 Mar 2007 08:01:52 -0700
On Mar 20, 2007, at 4:32 AM, Rainer Brockerhoff wrote:
- (void)useOptimizedDrawing:(BOOL)flag
Informs the receiver whether to optimize focusing and drawing when
displaying its views.
The optimizations may prevent sibling subviews from being
displayed in the correct order-which matters only if the subviews
overlap. You should always set flag to YES if there are no
overlapping subviews within the receiver. The default is NO.
...which is sort of weird. If, as the docs say elsewhere,
overlapping subviews are usually disallowed, the default should be
YES; I suppose calling this doesn't do anything useful nowadays.
It is simply a case that the _current_ implementation doesn't ensure
that views are drawn in the correct ordering. The Cocoa framework has
methods to allow for this capability but the current implementation
doesn't fully honor it.
-Shawn
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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