On Apr 7, 2016, at 10:45 , Fritz Anderson <fri...@manoverboard.org> wrote:
> 
> (2) Is your view controller not a table delegate already?

As you say.

I don’t actually know the answer to the original question, but I wonder if the 
problem is that (for a view-based table view) the cell view is archived in a 
separate NIB file that’s generated when the storyboard or XIB containing the 
table view is compiled. Then, there would be a difficulty that objects in the 
NIB have no way to connect to anything outside the NIB except via File’s Owner, 
and that’s set to something else.

Perhaps "it works as is” because there’s actually no target, so the action 
message passes up the responder chain to the view controller. In that case, 
there isn’t any need to find a way to specify the target explicitly.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to