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

Control Design Advice


  • Subject: Control Design Advice
  • From: Drew Mccormack <email@hidden>
  • Date: Fri, 15 Feb 2008 14:48:28 +0100

I'm developing a time line similar to iMovie 6's time line. I'm targeting leopard-only, so I thought I could use Core Animation to implement the time line control.

I quickly ran into a problem: because of the GPU limitations on CA, it uses a CATiledLayer for the content of a scroll view --- which my time line is --- and tiled layers fade in their content as you scroll, which leads to a sort of flashing that is not cool for a time line control.

I am now a bit stumped as to how to proceed. I can see a few options:

1) Drop CA altogether and just come up with a control class that draws in the old way (ala Sketch).
2) Keep CA, and try to manipulate the tiled layer to look OK, by trying to adjust the fadeDuration, for example.
3) Use CA, but implement my own scrolling time line view, which adjusts its bounds in order to scroll, hence remaining small enough to avoid the GPU issues.


Can anyone give me advice on this? Is CA a bad choice for such a control?

Drew


--------------------------------------------------------- Drew McCormack

www.maccoremac.com
www.macresearch.org
www.macanics.net


_______________________________________________

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


  • Prev by Date: Re: KVC and KVO for arrays
  • Next by Date: Re: NSShadow changes on 10.5.2?
  • Previous by thread: Re: Stacking views
  • Next by thread: Multiple classes instantiated in nib
  • Index(es):
    • Date
    • Thread