• 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: Non-square (triangular) views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Non-square (triangular) views


  • Subject: Re: Non-square (triangular) views
  • From: Stephen Deken <email@hidden>
  • Date: Thu, 16 Nov 2006 19:37:33 -0600

On Nov 16, 2006, at 6:47 PM, Rosyna wrote:
Is there documentation that states this isn't reliable?

<http://developer.apple.com/documentation/Cocoa/Conceptual/ CocoaViewsGuide/WorkingWithAViewHierarchy/chapter_4_section_5.html>


"For performance reasons, Cocoa does not enforce clipping among sibling views or guarantee correct invalidation and drawing behavior when sibling views overlap."

Stephen Deken
email@hidden


The existence of -[NSView sortSubviewsUsingFunction:context:] seems to imply there is a very specific order in the way subviews are drawn and that that order can be changed. Both of which would be required for reliably overlapping views.

http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/Classes/NSView_Class/Reference/Reference.html#// apple_ref/occ/instm/NSView/sortSubviewsUsingFunction:context:

Ack, at 11/16/06, Erik Buck said:

Be careful because sibling views can not be reliably overlapped. If your views never draw in the overlapping portions, you may be OK, but you are outside normal framework usage patterns.

--


Sincerely, Rosyna Keller Technical Support/Carbon troll/Always needs a hug

Unsanity: Unsane Tools for Insanely Great People

It's either this, or imagining Phil Schiller in a thong.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Non-square (triangular) views
      • From: Rosyna <email@hidden>
References: 
 >Re: Non-square (triangular) views (From: Erik Buck <email@hidden>)
 >Re: Non-square (triangular) views (From: Rosyna <email@hidden>)

  • Prev by Date: Re: Non-square (triangular) views
  • Next by Date: Re: Non-square (triangular) views
  • Previous by thread: Re: Non-square (triangular) views
  • Next by thread: Re: Non-square (triangular) views
  • Index(es):
    • Date
    • Thread