Created
June 12, 2020 13:34
-
-
Save stevencurtis/f5c8830c06cb07e412f42d9b941ffdad to your computer and use it in GitHub Desktop.
viewcontrollerretain
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ViewController: UIViewController { | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
let parent = Parent(name: "Kim", child: nil) | |
let child = Child(name: "Jafari", parent: parent) | |
parent.child = child | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment