Re: Observing changes in TableView

Gerriet M. Denkmann

On 9 Nov 2017, at 01:36, Quincey Morris <quinceymorris@...> wrote:

On Nov 8, 2017, at 01:47 , Gerriet M. Denkmann <g@...> wrote:

So I gave the Button a target and action, but this never results in a message sent.
This ought to work, so I think you should focus on finding out why it isn’t. What are you specifying for the target? It should be something that doesn’t depend on the cell itself, like the view controller or the app delegate.
I just tried it again, and now Xcode told me that: “ Action ‘boxClicked:' sent by 'Check Box' is connected to 'File's Owner,' an invalid target (Objects inside view based table views may only be connected to the table view's delegate.)"

So I made the ‘File’s Owner’ the table view’s delegate and now it works as expected.

Kind regards,


Join { to automatically receive all group messages.