• 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
Getting Segue from TableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Getting Segue from TableView
      • From: Mike Abdullah <email@hidden>
  • Prev by Date: Re: How do I hide/show a status bar?
  • Next by Date: How do I hide a shorter control that's peeking out?!
  • Previous by thread: Re: NSNumberFormatter negative and NSWindowsLatin1
  • Next by thread: Re: Getting Segue from TableView
  • Index(es):
    • Date
    • Thread