• 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: Changing order of views dynamically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Changing order of views dynamically (From: Rainer Brockerhoff <email@hidden>)

  • Prev by Date: Detecting when menubar is visible
  • Next by Date: Re: Debugging Core Data unresolved keypath save error
  • Previous by thread: Re: Changing order of views dynamically
  • Next by thread: Re: Changing order of views dynamically
  • Index(es):
    • Date
    • Thread