Hi all, So I have a property, unsharpMaskFilter, setup in init like so:
CIFilter *filter = [CIFilter filterWithName:@"CIUnsharpMask"]; [filter setDefaults]; [filter setValue:[NSNumber numberWithFloat:0.1] forKey:@"inputIntensity"]; [filter setValue:[NSNumber numberWithFloat:0.2] forKey:@"inputRadius"]; NSLog(@"filter:%@ ii:%@ ir:%@", filter, [filter valueForKey:@"inputIntensity"], [filter valueForKey:@"inputRadius"]); self.unsharpMaskFilter = filter; the NSLog line shows that we can call valueForKey on inputIntensity, but when it is assigned to the property, bindings in the xib kick in (there's a slider and a text field whose value is bound to unsharpMaskFilter.inputIntensity) and I get the following exception: *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<CIUnsharpMask 0x2000648c0> valueForUndefinedKey:]: this class is not key value coding-compliant for the key inputIntensity.' What on earth is going on here? The very line before the exception is triggered we successfully call [filter valueForKey:@"inputIntensity"]. I feel like I've tried everything including rebuilding a brand new xib from scratch with nothing but a single text field. A fresh idea would be welcomed! Cheers, Mark. -- Mark Aufflick http://mark.aufflick.com/about/contact _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com