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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to