Re: Non-square (triangular) views
Re: Non-square (triangular) views
- Subject: Re: Non-square (triangular) views
- From: "Stephen Deken" <email@hidden>
- Date: Fri, 17 Nov 2006 11:05:20 -0600
On 11/17/06, Scott Anguish <email@hidden> wrote:
It doesn't mention anything about usesOptimizedDrawing:
It says don't overlap sibling views.
The documentation is contradictory. Either this portion of the
documentation is wrong, or the documentation for
[useOptimizedDrawing:] is wrong. I suspect that the documentation for
[useOptimizedDrawing:] is wrong. That suspicion is based on the
following:
* [useOptimizedDrawing:] indicates that you have to explicitly enable
optimized drawing by calling [useOptimizedDrawing:YES]. Problems with
sibling views can occur without calling this function.
* Problems with sibling views crop up quite often, and are almost
always solved by reorganizing the view into a non-overlapping
hierarchy. It would be common knowledge by this point if there was a
workaround other than hierarchy reorganization.
* There are other methods in AppKit which are correctly documented
but which don't actually do anything; the most famous of these is
[slideDraggedImageTo:] in NSDraggingInfo.
Again, I base this on nothing but a gut feeling drawn from my own
experiences with overlapping sibling views. I have not yet
constructed a test for this.
Stephen Deken
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