Re: Proper target for table cell view buttons
Re: Proper target for table cell view buttons
- Subject: Re: Proper target for table cell view buttons
- From: David Catmull <email@hidden>
- Date: Fri, 08 Apr 2016 09:53:12 -0600
On Apr 7, 2016, at 1:23 PM, Quincey Morris <email@hidden> wrote:
> 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.
I don’t see any additional nib files in the application package.
> 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.
From what I see in the debugger, that doesn’t seem to be happening, although it goes through something called os_activity_initiate and I suppose it’s possible the responder chain is being traced in there.
_______________________________________________
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