Re: Changing CAConstraint for a CALayer
Re: Changing CAConstraint for a CALayer
- Subject: Re: Changing CAConstraint for a CALayer
- From: Kevin Cathey <email@hidden>
- Date: Sat, 11 Apr 2009 10:51:50 -0500
Constraints are immutable objects, once you create them, you cannot
change them. This is a limitation of the constraint layout manager. If
you need more fine-grain control, use a custom layout manager.
Kevin
--------------------------
Kevin Cathey
On 10 Apr 2009, at 12:15, Rama Krishna wrote:
I am using CALayoutManager for laying out Core Animation layers and
it works
great. Now I have a requirement that I need to modify the layout of
the sub
layers based on certain event. What this means is that the layout
constraints specified by CAConstraint of the sublayers need to be
modified.
Unfortunately, I could not see any way of doing that. Can someone
guide me
in the right direction on how to do this short of recreating the
layers.
Thanks
Rama Krishna
_______________________________________________
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
_______________________________________________
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