• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Resizing CAAnimation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Resizing CAAnimation


  • Subject: Resizing CAAnimation
  • From: Bridger Maxwell <email@hidden>
  • Date: Sat, 28 Mar 2009 12:56:15 -0600

Hey,
I think I have figured out how to make stationary layers layout (stay
centered in the superlayer) automatically when the superlayer resizes, using
either autoresizeMask or the constraints, but I need to do the same for
layers that are moving.

I have a simple animation in which I set the layer to move from the left
side of its superlayer to the right side. The problem comes when I resize
the superlayer. I would like layers that were animated across the center of
the superlayer to stay at the center, or layers which were animated on the
top third of the superlayer, to stay on the top third of the superlayer.
This is kinda confusing, but I would like to add a constraint manager to the
CAAnimation that is moving the layer.

Hopefully that makes sense. Any help will be appreciated!

Thank You,
Bridger Maxwell
_______________________________________________

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

  • Prev by Date: Re: KVO Code Breaks Undo
  • Next by Date: Clarification regarding viewDidAppear: and friends
  • Previous by thread: Finding the NSCollectionViewItem being represented from the view
  • Next by thread: Clarification regarding viewDidAppear: and friends
  • Index(es):
    • Date
    • Thread