Re: Core Animation - Modifying CAConstraints
Re: Core Animation - Modifying CAConstraints
- Subject: Re: Core Animation - Modifying CAConstraints
- From: Dimitri Bouniol <email@hidden>
- Date: Thu, 13 Mar 2008 21:11:20 -0700
As far as i know, you can either set the constraints property to nil
and re-set the constraints you want to use, or set up your own layout
manager to handle positioning the layers.
On Mar 13, 2008, at 4:23 PM, Karl Goiser wrote:
Hello Cocoaers,
I have a situation where I want to re-order sublayers of a layer
which are positioned using CAConstraints.
Is this at all possible?
The constraints array property of a CALayer is declared as:
@property(copy) NSArray *constraints;
Which tells me that I can't modify the array in the object, but
could modify the objects in the array. However, CAConstraint is
completely private apart from initialisation methods.
No joy that I can see... can you?
Thanks!!
Karl
--
定魅刀利
Dimitri Bouniol
email@hidden
http://web.mac.com/dimitri008/
_______________________________________________
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