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 PROTECTED]
http://web.mac.com/dimitri008/



_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to