• 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: Remove NSTableView Default Selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Remove NSTableView Default Selection


  • Subject: Re: Remove NSTableView Default Selection
  • From: John McIntosh <email@hidden>
  • Date: Fri, 25 Sep 2009 08:40:25 -0500

Perfect, thank you! I have the table bound to a core data source and
did not know about the "avoid empty selection" option in the
controller. Unckecking that box took care of it.

John

On Thu, Sep 24, 2009 at 10:12 PM, Jens Alfke <email@hidden> wrote:
>
> On Sep 24, 2009, at 5:07 PM, John McIntosh wrote:
>
>> I assumed that I could send the same deselectAll message in either an
>> awakeFromNib function or applicationDidFinishLaunching. However,
>> neither of these clears the selection.
>
> Make sure you've checked the table's "Empty" checkbox (allow empty
> selection) in the nib.
> Also, if there's a controller bound to the table, uncheck its "Avoid empty
> selection" checkbox.
>
> —Jens
_______________________________________________

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

References: 
 >Remove NSTableView Default Selection (From: John McIntosh <email@hidden>)
 >Re: Remove NSTableView Default Selection (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: [__NSFastEnumerationEnumerator nextObject] unexpectedly not very fast!
  • Next by Date: Subclass of NSView not responding to mouseDown event
  • Previous by thread: Re: Remove NSTableView Default Selection
  • Next by thread: Correct way to tell if a path is to a .bundle?
  • Index(es):
    • Date
    • Thread