Re: _NSStateMarker
Re: _NSStateMarker
- Subject: Re: _NSStateMarker
- From: "R. Matthew Emerson" <email@hidden>
- Date: Sat, 9 Sep 2006 19:53:26 -0400
On Sep 9, 2006, at 7:12 PM, patrick machielse wrote:
I tried running with NSZobieEnabled, but that didn't give any extra
information. The output on the console:
NSZombieEnabled=YES
2006-09-10 00:56:55.117 MyProgram[351] *** -[_NSStateMarker
boolValue]: selector not recognized
2006-09-10 00:56:55.119 MyProgram[351] An uncaught exception was
raised
2006-09-10 00:56:55.134 MyProgram[351] *** -[_NSStateMarker
boolValue]: selector not recognized
2006-09-10 00:56:55.136 MyProgram[351] *** Uncaught exception:
<NSInvalidArgumentException> *** -[_NSStateMarker boolValue]:
selector not recognized
Hmm, it's an NSInvalidArgumentException. The _NSStateMarker
instance is passed as an argument and should respond to 'boolValue'.
It sounds like you might be trying to get an array controller's
selection (or some property thereof), and you're getting back
NSNoSelectionMarker (or one of its friends, like
NSMultipleValuesMarker or NSNotApplicableMarker) and then trying to
send it a boolValue message, which of course it doesn't like.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden