• 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: Uneditable NSTableView (SOLVED)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Uneditable NSTableView (SOLVED)


  • Subject: Re: Uneditable NSTableView (SOLVED)
  • From: "Ewan Delanoy" <email@hidden>
  • Date: Wed, 23 Apr 2008 21:05:40 +0200 (CEST)
  • Importance: Normal

 Corbinn Dunn wrote
>>>>           I'm not quite sure what you mean by "target" here
>>> The "target" is the object that your selector message will be sent
>>> to.
>>> How will your TableView know which object responds to the selector
>>> you
>>> give it? It's not magic...
>>> HTH
>>
>>  It did help indeed, and even solved my problem! (it now works with a
>> single click by the way, just as in Mail). I was confused because
>> although I already knew how an action in an object could be the target
>> of a button or a single cell in a table view,  I hadn't yet understood
>> that it could be the target of a table view "as a whole", with the
>> action triggered by any of the cells in it. Many thanks!
>
> Based on your description of the problem, you probably want to update
> your lower pane via:
>
> - (void)tableViewSelectionDidChange:(NSNotification *)notification;
>
> .corbin
>

  That wouldn't be very useful for what I do because I also want
the Mail-like feature of multiple selection (and possible erasing of
the selected items). Generally, I think using delegate methods like
this becomes awkward when there are many ways for the selection to change.

                                                               Ewan





_______________________________________________

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: Uneditable NSTableView (SOLVED)
      • From: Corbin Dunn <email@hidden>
    • Re: Uneditable NSTableView (SOLVED)
      • From: Nate Weaver <email@hidden>
References: 
 >Re: Uneditable NSTableView (SOLVED) (From: "Ewan Delanoy" <email@hidden>)
 >Re: Uneditable NSTableView (SOLVED) (From: Corbin Dunn <email@hidden>)

  • Prev by Date: Re: NSScanner question
  • Next by Date: Re: Inserting my own Responder before App?
  • Previous by thread: Re: Uneditable NSTableView (SOLVED)
  • Next by thread: Re: Uneditable NSTableView (SOLVED)
  • Index(es):
    • Date
    • Thread