• 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: 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


  • Follow-Ups:
    • Re: View with Subviews + Drawing on top of everything
      • From: rajesh <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>)

  • Prev by Date: Re: Moving oneself to /Applications (or ~/Applications)
  • Next by Date: Re: Simple way to traverse 2D array?
  • Previous by thread: Re: View with Subviews + Drawing on top of everything
  • Next by thread: Re: View with Subviews + Drawing on top of everything
  • Index(es):
    • Date
    • Thread