Re: View with Subviews + Drawing on top of everything
Re: View with Subviews + Drawing on top of everything
- Subject: Re: View with Subviews + Drawing on top of everything
- From: rajesh <email@hidden>
- Date: Tue, 24 Feb 2009 15:13:26 +0100
sorry I got confused over the term " lightweight drawing objects
" :) . I just started with the CA programming guide , its amazing !!!
Thanks Graham.
~Rajesh
On Feb 24, 2009, at 1:57 PM, Graham Cox wrote:
On 24/02/2009, at 11:52 PM, rajesh wrote:
Yes indeed , but I chose such approach is that these subViews have
lot of stuff to draw within itself
That's irrelevant - you have to do all that drawing, whether it's
inside an NSView or not.
and not to mention the animations with which they
appear,disappear,move etc., is pretty much achievable.
You could use Core Animation to use multiple CALayers within a
single view. There is plenty of good sample code on this - try
GeekGameBoard for instance.
--Graham
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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