• 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
Sample project "Cocoa Sliders": some questions about API usage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sample project "Cocoa Sliders": some questions about API usage


  • Subject: Sample project "Cocoa Sliders": some questions about API usage
  • From: Walter Yetta <email@hidden>
  • Date: Wed, 30 Jan 2008 11:05:14 +0000

Hi everyone. There is a sample project named "Cocoa Sliders" under the Core Animation folder. Open this project, and search the following code:
" [self setAnimations:[NSDictionary dictionaryWithObject:transition forKey:@"subviews"]];"
Here, the self is a subclass of the NSView. So this code tells the View to use the specified animation type to change the subviews of the parent view.
Let us look at the key "subviews" of the NSDictionary. Xcode document doesn't say much about that, so I am wondering whether there are other more options to place this key "subviews"?


The other question, the view can use core image based filters to animate content. Then is this fit for a CALayer? I mean, whether we can write code as the following?
" [self setAnimations:[NSDictionary dictionaryWithObject:transition forKey:@"sublayers"]];"


Actually, I am seeking a method which can make transition from a CALayer to another CALayer using the Core Image transition Effects.
Thank you very much for any help. Best regards.
_______________________________________________


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: Sample project "Cocoa Sliders": some questions about API usage
      • From: Scott Anguish <email@hidden>
  • Prev by Date: [Moderator] Re: The mouse is where, again?
  • Next by Date: Re: Sample project "Cocoa Sliders": some questions about API usage
  • Previous by thread: Re: Sheet not attached to window II
  • Next by thread: Re: Sample project "Cocoa Sliders": some questions about API usage
  • Index(es):
    • Date
    • Thread