Re: Updating parameters of a CI filter on a CA layer
Re: Updating parameters of a CI filter on a CA layer
- Subject: Re: Updating parameters of a CI filter on a CA layer
- From: Kyle Sluder <email@hidden>
- Date: Mon, 12 Apr 2010 13:30:45 -0700
On Mon, Apr 12, 2010 at 1:22 PM, David Duncan <email@hidden> wrote:
> You need to assign a name to each filter, then you can create keypaths like @"filters.myfiltername.property".
Can we get some explanation of the magic involved in CALayer KVC
support? Why is -setValue:forKeyPath: necessary here, rather than just
changing the filter directly? Why does CALayer treat an array property
as if it were a dictionary when it's part of a keypath?
Some rationale would be very helpful. All we know now is "CALayer
extends KVC for some super-secret reason."
--Kyle Sluder
_______________________________________________
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