Re: Passing data through a segue
Re: Passing data through a segue
- Subject: Re: Passing data through a segue
- From: Marco Tabini <email@hidden>
- Date: Mon, 02 Apr 2012 07:23:34 -0400
On 2012-04-02, at 7:15 AM, Rick Mann wrote:
> Thanks for the quick response.
>
> I think I'm okay with sending stuff through the sender parameter, although I do agree it's a bit ugly.
>
> Problem is, my didSelectRowAtIndexPath isn't getting called... :-( The delegate is set correctly, so I'm assuming iOS doesn't call it in the presence of segues? It IS calling prepareSegue...
Have you tried to override -prepareForSegue:sender: and use -[UITableView indexPathForSelectedRow] to retrieve the selected row? That does the trick for me.
Incidentally, you'll probably find that -willSelectRowAtIndexPath does get called.
Cheers,
—Mt.
_______________________________________________
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