Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
fileprivate func displayOptionsViewController() {
guard let optionsViewController = OptionsViewController.create(completionBlock: optionsCompletionHandler) else {
NSLog("Failed to create OptionsViewController, whoops")
return
}
self.show(optionsViewController, sender: nil)
self.optionsViewController = optionsViewController as? OptionsViewController
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment