Skip to content

Instantly share code, notes, and snippets.

@sgoodwin
Last active June 20, 2018 20:21
Show Gist options
  • Save sgoodwin/da4efd60a81d5672e64371d3eedde7a8 to your computer and use it in GitHub Desktop.
Save sgoodwin/da4efd60a81d5672e64371d3eedde7a8 to your computer and use it in GitHub Desktop.
class SomeCustomViewController: UIViewController {
override var next: UIResponder? {
get {
return nil
}
set {
return
}
}
}
class SomeOtherCustomViewController: UIViewController {
override var next: UIResponder? {
return nil
}
}
let controller = SomeCustomViewController()
let otherController = UIViewController()
controller.next = otherController
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment