Re: Invalid exception being thrown: CIUnsharpMask is not kvc for the key inputIntensity - except that it is
Re: Invalid exception being thrown: CIUnsharpMask is not kvc for the key inputIntensity - except that it is
- Subject: Re: Invalid exception being thrown: CIUnsharpMask is not kvc for the key inputIntensity - except that it is
- From: Mark Aufflick <email@hidden>
- Date: Thu, 10 Jun 2010 20:13:19 +1000
Very good idea, but they are indeed the same:
2010-06-10 19:56:47.036 Redacted[4259:a0f] filter:{CIUnsharpMask {
inputImage = "<null>";
inputIntensity = "0.1";
inputRadius = "0.2";
}} ii:0.1 ir:0.2 pointer:0x2000f84e0
2010-06-10 19:56:47.040 Redacted[4259:a0f] An uncaught exception was raised
2010-06-10 19:56:47.040 Redacted[4259:a0f] [<CIUnsharpMask
0x2000f84e0> valueForUndefinedKey:]: this class is not key value
coding-compliant for the key inputIntensity.
2010-06-10 19:56:47.044 Redacted[4259:a0f] *** Terminating app due to
uncaught exception 'NSUnknownKeyException', reason: '[<CIUnsharpMask
0x2000f84e0> valueForUndefinedKey:]: this class is not key value
coding-compliant for the key inputIntensity.'
I also refactored your basic example to more match my app (separate
view xib using a programatically created instance of Foo as the file
owner) and it still works fine...
At this point I'm thinking of starting a new project and importing my
code in a bit at a time to find the culprit...
On Thu, Jun 10, 2010 at 3:33 AM, Stephen J. Butler
<email@hidden> wrote:
> On Wed, Jun 9, 2010 at 3:50 AM, Mark Aufflick <email@hidden> wrote:
>> So I did an experiment with your simple sample project making the
>> bindings be with file owner instead of a frozen object, but they still
>> worked as expected.
>>
>> Next test is a custom loaded view xib, but that will have to wait for tomorrow.
>>
>> It is very vexing!
>
> It is! What happens when you change your NSLog statement to:
>
> NSLog( @"filter:%@ ii:%@ ir:%@ pointer:%p",
> filter,
> [filter valueForKey:@"inputIntensity"],
> [filter valueForKey:@"inputRadius"],
> filter
> );
>
> In particular, I'm interested if the pointer output here matches the
> one in the KVC error.
>
--
Mark Aufflick
contact info at http://pumptheory.com/about
http://pumptheory.com
iPhone and Enterprise software development
_______________________________________________
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