Sha256: b7ecff987821b615e4fb8492484013cb005f5833fab2c568292e1e010115d374
Contents?: true
Size: 367 Bytes
Versions: 1
Compression:
Stored size: 367 Bytes
Contents
class UINavigationController def push(view_controller) self.pushViewController(view_controller, animated: true) self end def pop(to_vc=nil) if to_vc == :root self.popToRootViewControllerAnimated(true) elsif to_vc self.popToViewController(to_vc, animated: true) else self.popViewControllerAnimated(true) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cha_work-0.1 | lib/cha_work/sugar/uiviewcontroller.rb |