I have a simple storyboard app with a push segue from a master table to a 
detail controller. In the past, I'd implement -didSelectRowAtIndexPath, get the 
object for that row, create the detail view controller, assign the object to 
it, and push it.

Now I don't really see a nice way to do that without an ivar in the master view 
controller. I can either override prepareForSegue, in which case I won't have 
the index path available, or call performSegue, in which case I won't have the 
destination view controller available.

Am I missing something, or must I store the object in an ivar in one, and get 
at it in the other?

TIA,
Rick


_______________________________________________

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