• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: _NSStateMarker
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >_NSStateMarker (From: patrick machielse <email@hidden>)
 >Re: _NSStateMarker (From: j o a r <email@hidden>)
 >Re: _NSStateMarker (From: patrick machielse <email@hidden>)

  • Prev by Date: Re: FolderItem equivalent?
  • Next by Date: Re: Tracking rectangles and bezier paths
  • Previous by thread: Re: _NSStateMarker
  • Next by thread: Re: _NSStateMarker
  • Index(es):
    • Date
    • Thread