Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.