Files
GRDB.swift/Tests/Carthage/iOS/iOS/DetailViewController.swift
T
Gwendal Roué f44ae2848f Project organization
Project organization

README.md

WIP QueryBuilder documentation

README.md

WIP QueryBuilder documentation

WIP QueryBuilder documentation

TODO.md
2016-01-28 08:43:25 +01:00

35 lines
661 B
Swift

//
// DetailViewController.swift
// iOS
//
// Created by Gwendal Roué on 08/07/2015.
// Copyright © 2015 Gwendal Roué. All rights reserved.
//
import UIKit
class DetailViewController: UIViewController {
@IBOutlet weak var detailDescriptionLabel: UILabel!
var person: Person? {
didSet {
self.configureView()
}
}
func configureView() {
if let person = self.person {
if let label = self.detailDescriptionLabel {
label.text = person.fullName
}
}
}
override func viewDidLoad() {
super.viewDidLoad()
self.configureView()
}
}