Sample project "Cocoa Sliders": some questions about API usage
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