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

TableviewSelectionDidChange(_:) not called


  • Subject: TableviewSelectionDidChange(_:) not called
  • From: Luc Van Bogaert <email@hidden>
  • Date: Mon, 30 Nov 2015 20:07:10 +0100

Hello,

I have noticed that TableviewSelectionDidChange(_:) is not called in my tableview delegate when after I select a row and then delete it, even when it is the only row in the table. I would have assumed that this method would be called because deleting the row does in fact change the slection, or doesn't it?

If this behaviour I'm seeing is indeed as intended; I'm wondering what other approach I should take to handle selection changes. Maybe observing the array controller's selectionIndexes or something else?

Thanks,
--
Luc Van Bogaert

_______________________________________________

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: TableviewSelectionDidChange(_:) not called
      • From: Quincey Morris <email@hidden>
  • Prev by Date: NSWindow
  • Next by Date: Re: TableviewSelectionDidChange(_:) not called
  • Previous by thread: Re: NSWindow
  • Next by thread: Re: TableviewSelectionDidChange(_:) not called
  • Index(es):
    • Date
    • Thread