Mailing Lists: Apple Mailing Lists

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

Re: CoreAnimation with NSTextField




On Mar 28, 2008, at 10:38 AM, Jordan Breeding wrote:

I would like to have the old string fade out and the new string fade in.

I would imagine that that would be as "simple" as creating a cross fade animation and then attaching it to the NSTextField using [textField addAnimation: crossFadeAnimation forKey: @"value"]


Now, having said that, I haven't actually tried doing that myself.

You could start by looking at the code listings at:

http://developer.apple.com/documentation/Cocoa/Conceptual/CoreAnimation_guide/Articles/AnimatingLayers.html

Click through to the heading about "Explicit Animation"

Scott

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartz-dev/email@hidden

This email sent to email@hidden
References: 
 >CoreAnimation with NSTextField (From: Jordan Breeding <email@hidden>)
 >Re: CoreAnimation with NSTextField (From: Scott Thompson <email@hidden>)
 >Re: CoreAnimation with NSTextField (From: Jordan Breeding <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.