• 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: Changing CAConstraint for a CALayer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Changing CAConstraint for a CALayer (From: "Rama Krishna" <email@hidden>)

  • Prev by Date: Re: WebKit Caching
  • Next by Date: Re: NSTextFieldCell text color issue in NSTableView with source list highlighting
  • Previous by thread: Re: Changing CAConstraint for a CALayer
  • Next by thread: Screen Savers
  • Index(es):
    • Date
    • Thread