• 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
Re: Core Animation - Modifying CAConstraints
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Core Animation - Modifying CAConstraints (From: Karl Goiser <email@hidden>)

  • Prev by Date: Re: How do I empty WebView;s cache? (SOLVED)
  • Next by Date: newb problem- Currency Converter app problem- Can't Add ConverterController Class to Nib
  • Previous by thread: Core Animation - Modifying CAConstraints
  • Next by thread: Re: Core Animation - Modifying CAConstraints
  • Index(es):
    • Date
    • Thread