• 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: View with Subviews + Drawing on top of everything
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >View with Subviews + Drawing on top of everything (From: rajesh <email@hidden>)
 >Re: View with Subviews + Drawing on top of everything (From: Graham Cox <email@hidden>)
 >Re: View with Subviews + Drawing on top of everything (From: rajesh <email@hidden>)
 >Re: View with Subviews + Drawing on top of everything (From: Graham Cox <email@hidden>)

  • Prev by Date: simple memory management question
  • Next by Date: Re: Capture highlighted menu name
  • Previous by thread: Re: View with Subviews + Drawing on top of everything
  • Next by thread: simple memory management question
  • Index(es):
    • Date
    • Thread