Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Code for NameDetailViewController
import UIKit
class NameDetailViewController: UIViewController {
var name: String?
@IBOutlet var NameLabel: UILabel!
override func viewDidLoad() {
super.viewDidLoad()
NameLabel.text = name
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment