I was wondering if many of you have had a go at core animation yet?
I am personally looking at making a piece of text fade in and fade
out as a
confirmation that something worked in my latest project. Currently I
popping a bit of text on screen using:
[succcessFlag setStringValue:@"Record Added"];
I presume we are talking pretty simple here but the question is how
If any of you knows of any cool tutorials on really quick and simple
animation text effects could you please give me the heads up.
It's difficult to know exactly what you need based on what you wrote
above. Do you really need to drop down to Core Animation layers or
would AppKit's animation proxies be good enough for your purposes? Is
there a reason you would need to manipulate a CATextLayer directly? Is
"successFlag" supposed to be a layer or is it an NSTextField?
If successFlag is in fact an NSTextField (or, for that matter, any
NSView or subclass thereof), then [[successFlag animator]
setHidden:YES] (or setHidden:NO) should give you a default fade
effect, provided a superview somewhere up the view hierarchy is layer
Here are some excellent starting points for learning OS X animation
technologies. I highly recommend reading these guides. A "cool
tutorial" should not be a substitute for reading Apple's
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