• 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
Re: Passing data through a segue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Passing data through a segue
      • From: Rick Mann <email@hidden>
References: 
 >Passing data through a segue (From: Rick Mann <email@hidden>)
 >Re: Passing data through a segue (From: Roland King <email@hidden>)
 >Re: Passing data through a segue (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: Passing data through a segue
  • Next by Date: Re: Passing data through a segue
  • Previous by thread: Re: Passing data through a segue
  • Next by thread: Re: Passing data through a segue
  • Index(es):
    • Date
    • Thread