Re: [Q] Cocoa Binding for filters applied to CALayer
Re: [Q] Cocoa Binding for filters applied to CALayer
- Subject: Re: [Q] Cocoa Binding for filters applied to CALayer
- From: JongAm Park <email@hidden>
- Date: Wed, 29 Aug 2012 10:43:59 -0700
Hmm.. I found an interesting case here.
I tried to add this message for a newly created button to set the inputRadius in code.
- (IBAction)blurIt:(id)sender
{
[self setValue:@10.0f forKeyPath:@"imageLayer.filters.blur.inputRadius"];
}
Then it works. It's very interesting that the binding property using IB resource editing doesn't work...
_______________________________________________
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