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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to