IKFilterUIView binding?
IKFilterUIView binding?
- Subject: IKFilterUIView binding?
- From: Albert Martin <email@hidden>
- Date: Wed, 25 Feb 2009 16:38:31 -0500
I am having trouble getting an IKFilterUIView to bind to it's
CIFilter. I don't get any compile or runtime errors, but when I'm
editing the settings in the IKFilterUIView it doesn't update the
CIFilter settings that are being applied to a CALayer. Here's the
code ... what am I doing wrong?
// setting up the CIFilter
filterContainer_Bloom = [CIFilter filterWithName:@"CIBloom"];
[filterContainer_Bloom setDefaults];
// setting up the IKFilterUIView
filterSettings_Bloom = [filterContainer_Bloom viewForUIConfiguration:
[self createOptionsDictionary] excludedKeys:[NSArray
arrayWithObject:@"inputImage"]];
[filterSettingsContainerView addSubview: filterSettings_Bloom];
// binding the IKFilterUIView to the CIFilter
[filterContainer_Bloom bind:@"inputRadius" toObject:
[filterSettings_Bloom filter] withKeyPath:@"inputRadius" options:nil];
// adding the CIFilter to the CALayer filter array
[effectsArray addObject: filterContainer_Bloom];
_______________________________________________
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