On 7 Aug 2014, at 15:06, Gerriet M. Denkmann <[email protected]> wrote:

> 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.

-[UIViewController performSegueWithIdentifier:sender:] is how you 
programatically trigger a segue.


_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to