lib/ProMotion/cocoatouch/ViewController.rb in ProMotion-0.5.2 vs lib/ProMotion/cocoatouch/ViewController.rb in ProMotion-0.6.0

- old
+ new

@@ -18,21 +18,21 @@ def viewDidAppear(animated) super self.view_did_appear(animated) if self.respond_to?("view_did_appear:") end - + def viewWillDisappear(animated) self.view_will_disappear(animated) if self.respond_to?("view_will_disappear:") - super + super end - + def viewDidDisappear(animated) if self.respond_to?("view_did_disappear:") self.view_did_disappear(animated) end - super + super end def shouldAutorotateToInterfaceOrientation(orientation) self.should_rotate(orientation) end @@ -42,10 +42,10 @@ end def willRotateToInterfaceOrientation(orientation, duration:duration) self.will_rotate(orientation, duration) end - + def didRotateFromInterfaceOrientation(orientation) self.on_rotate end end end \ No newline at end of file