Skip to content

Instantly share code, notes, and snippets.

@Gabrimarin
Created January 26, 2020 19:40
Show Gist options
  • Save Gabrimarin/1619ef92db8f5f1644d76f35637ddb65 to your computer and use it in GitHub Desktop.
Save Gabrimarin/1619ef92db8f5f1644d76f35637ddb65 to your computer and use it in GitHub Desktop.
import UIKit
class InfoViewController: UIViewController {
@IBOutlet weak var label1: UILabel!
@IBOutlet weak var label2: UILabel!
var dado: SeuObjeto = SeuObjeto()
override func viewDidLoad() {
super.viewDidLoad()
label1.text = dado.atributo1
label2.text = dado.atributo2
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment