• 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
Design Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Design Question


  • Subject: Design Question
  • From: David Blanton <email@hidden>
  • Date: Thu, 12 Feb 2009 10:37:45 -0700

Having been chastised on this for 'horrific' design I thought I would ask for some pointers before embarking on my next project. (Picture of me with tail between legs.)

The app in question has four states. Associated with each state are four CALayers some of which have explicit animations.

I was thinking of creating the 16 layers, adding animations and adding the layers as sublayers to the view at some appropriate time in the app startup sequence.

Then, as the state changes, set the hidden property for each layer as appropriate for the state.

Side question ... in doing so will the animations begin when the hidden property is set NO.

Thanks


David Blanton





_______________________________________________

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: Design Question
      • From: David Duncan <email@hidden>
  • Prev by Date: Re: NSCollectionView: Different-sized items? Docs?
  • Next by Date: Window Max Zoom Size
  • Previous by thread: Re: newbie question on creating .png files
  • Next by thread: Re: Design Question
  • Index(es):
    • Date
    • Thread