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: Graham Cox <email@hidden>
- Date: Tue, 24 Feb 2009 23:57:46 +1100
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