Multiple Detail Views in Swift


See Larry my African grey watch and comment on my video. In this video I demonstrate how to call multiple detail views from a single table. This will give you a menu structure like option for different experiences.


Here is the code used in the application:

override func tableView(tableView: UITableView,didSelectRowAtIndexPath indexPath: NSIndexPath) {

        if indexPath.row == 1 {

            self.performSegueWithIdentifier("secondView", sender: self)

        } else {

            self.performSegueWithIdentifier(“others", sender: self)



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at

Up ↑

%d bloggers like this: