Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Push CustomViewControler on Eureka Row
let storyboard = UIStoryboard(name: "Main", bundle: nil)
let remind_vc = storyboard.instantiateViewControllerWithIdentifier
("ReminderViewController") as! ReminderViewController
form +++ Section()
<<< ButtonRow("repeat_type") {
$0.title = "繰り返し"
$0.hidden = hiddenCondition
$0.presentationMode = .Show(
controllerProvider: ControllerProvider.Callback {
return remind_vc },
completionCallback: { vc in
vc.navigationController?.popViewControllerAnimated(true) }
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.