Getting Segue from TableView
Getting Segue from TableView
- Subject: Getting Segue from TableView
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Thu, 07 Aug 2014 21:06:48 +0700
iOS app, Master - Detail.
Master has TableView, when one tabs a table row, a segue to the Detail View is performed.
The problem:
Sometimes when the app starts, there is only one item in the TableView. In this case I want to segue to the DetailView programatically, because there is nothing to choose for the user.
But: how to get the relevant segue ? Xcode's Connection Inspector has for the TableView prototype cell under "Triggered Segues": selection = push Detail.
But I cannot find any property like "theSegueWhichWillBePerformedWhenPressed" or something maybe slightly less verbose.
And there is a segue "showDetail".
Either the cell or the table view must have this info stored somewhere.
Only I can't find it.
Gerriet.
_______________________________________________
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