• 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: TableviewSelectionDidChange(_:) not called
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TableviewSelectionDidChange(_:) not called


  • Subject: Re: TableviewSelectionDidChange(_:) not called
  • From: Quincey Morris <email@hidden>
  • Date: Mon, 30 Nov 2015 13:57:24 -0800
  • Feedback-id: 167118m:167118agrif8a:167118sIxiTe9gc-:SMTPCORP

On Nov 30, 2015, at 12:18 , Luc Van Bogaert <email@hidden> wrote:
>
> I can see this is being called when I make any selection change; except when I delete the (last) selected row. Deleting the second last row does trigger a call, but only when I set the arraycontroller to 'avoid empty selection'.

It sounds like it could be a bug, although I would have thought that anything affecting the data model would make your app revisit whatever it’s doing with the selection anyway. You could try binding the table’s selection row indexes through (that is, through the array controller, if you’re using one) to a data model property, and observe that via KVO.

_______________________________________________

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: 
 >TableviewSelectionDidChange(_:) not called (From: Luc Van Bogaert <email@hidden>)
 >Re: TableviewSelectionDidChange(_:) not called (From: Quincey Morris <email@hidden>)
 >Re: TableviewSelectionDidChange(_:) not called (From: Luc Van Bogaert <email@hidden>)

  • Prev by Date: Re: NSWindow
  • Next by Date: Re: Self and associated type requirements (yes again!)
  • Previous by thread: Re: TableviewSelectionDidChange(_:) not called
  • Next by thread: Design pattern for Painting applications, where to start
  • Index(es):
    • Date
    • Thread