• 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: Confused about setting selection in NSBrowser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Confused about setting selection in NSBrowser


  • Subject: Re: Confused about setting selection in NSBrowser
  • From: Keary Suska <email@hidden>
  • Date: Fri, 15 Jan 2010 09:07:06 -0700

On Jan 14, 2010, at 9:56 PM, Chris Idou wrote:

> I'm trying to set the selected item in an NSBrowser.
>
> I don't want to use setPath: because the items I'm storing in the browser are not unique, so therefore paths are not unique.
>
> I'm trying to use setIndexPath: but when I try the program throws an exception:
>
> HIToolbox: ignoring exception 'setSelectionIndexPath: is not supported for browsers with matrix delegates.' that raised inside Carbon event dispatch
> (
> 0   CoreFoundation                      0x00007fff80322444 __exceptionPreprocess + 180
> 1   libobjc.A.dylib                     0x00007fff8055d0f3 objc_exception_throw + 45
> 2   AppKit                              0x00007fff8378e252 -[NSBrowser setSelectionIndexPath:] + 128
>
> I don't understand what this exception means.

Are you building against 10.6 SDK?

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"

_______________________________________________

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

  • Follow-Ups:
    • Re: Confused about setting selection in NSBrowser
      • From: Corbin Dunn <email@hidden>
References: 
 >Confused about setting selection in NSBrowser (From: Chris Idou <email@hidden>)

  • Prev by Date: Re: NSTableView column bindings and "deep" key paths
  • Next by Date: Re: Confused about setting selection in NSBrowser
  • Previous by thread: Confused about setting selection in NSBrowser
  • Next by thread: Re: Confused about setting selection in NSBrowser
  • Index(es):
    • Date
    • Thread