On Wed, Jul 30, 2014, at 09:44 AM, Eric E. Dolecki wrote: > Coming from iOS, this kind of thing is simple. For OS X I'm floundering > trying to find something similar. > > I have an NSImageView. I want to animate the scale and alpha of it - > looping forever. It's a ring image in it. > > I've seen documentation in regards to the CoreAnimation framework, but my > Xcode 6b4 doesn't have it for Cocoa. > > Is there an easy way to do this? I'd like to avoid using a layer if > possible (I put things on top of it), but a layer solution works if it's > smoother and I can hide it.
Yeah, a layer is definitely easiest. (There's actually some confusion regarding whether layers are required to have alpha at all, in fact. The docs say that alpha requires layer-backing, but I'm pretty sure they snuck in a standard compositing-based approach that works in some cases.) --Kyle Sluder _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
