Re: NSCell with Embedded NSView
Re: NSCell with Embedded NSView
- Subject: Re: NSCell with Embedded NSView
- From: Erik Buck <email@hidden>
- Date: Thu, 6 Apr 2006 11:56:15 -0700 (PDT)
You are not going to be able to use a single view to do what you want during a single redraw. Views have a lot of state and exist in a view hierarchy. Moving/repositioning a view within its parent view while the parent view is redrawing is not supported by the frameworks.
There are other approaches.
http://www.stepwise.com/Articles/Technical/NSCell.html
Cells can use sub-cells. When it comes to drawing, cells can do almost anything views can do.
Here is an implementation that does use views for comparison:
http://www.stepwise.com/Articles/Technical/2003-12-20.01.html
_______________________________________________
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