Re: simple CATextLayer scaling problem
Re: simple CATextLayer scaling problem
- Subject: Re: simple CATextLayer scaling problem
- From: Scott Anguish <email@hidden>
- Date: Fri, 14 May 2010 00:23:56 -0400
On May 10, 2010, at 7:35 PM, Kyle Sluder wrote:
> On Mon, May 10, 2010 at 3:45 PM, douglas welton
> <email@hidden> wrote:
>> I would suggest that you use KVO to observe the value of the bounds property of your layer. When you are notified of the property change, compute the new size for your font at that point.
>
> CALayer is not KVO-compliant for its properties.
OK, this turns out not to be true on the desktop.
Anything that is declared as a property in the header is KVO compliant.
I’ll be updating the documentation when I get the exact list back from engineering.
This is not the case on iPhone
_______________________________________________
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