Gerriet,
In IB, I have a separate view controller for my detail view. I then created a
segue from the my table view to the detail view controller and I assigned it
the ID “showDetails” and changed the segue type to “Show Details (replace)". In
code, I trigger my segue here:
func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath:
NSIndexPath) {
_indexPath = indexPath
// transition to detail view
performSegueWithIdentifier("showDetails", sender: self)
}
I hope this somewhat helps...
On Oct 8, 2015, at 11:21 PM, Gerriet M. Denkmann
<[email protected]<mailto:[email protected]>> wrote:
I just created a new project with Xcode 7.0: iOS Master-Detail App.
The TableView in one of the Master Scenes has a Cell, which in Utilities →
Connections inspector displays (under Triggered Segues):
selection → Navigation Controller show detail.
The same Scene has a UIStoryboardSegue called “showDetail”.
How can I set this from inside my program?
Can’t find anything looking like this in: UINavigationController,
UIViewController, UITableView or UITableViewCell.
I am looking for a property like: UIStoryboardSegue
*segueToUseWhenTableRowIsTapped
Gerriet.
_______________________________________________
Cocoa-dev mailing list
([email protected]<mailto:[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<http://lists.apple.com>
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/bap04e%40my.fsu.edu
This email sent to [email protected]
_______________________________________________
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]