lib/ProMotion/cocoatouch/table_view_controller.rb in ProMotion-2.6.1 vs lib/ProMotion/cocoatouch/table_view_controller.rb in ProMotion-2.7.0
- old
+ new
@@ -4,9 +4,15 @@
s = self.alloc.initWithStyle(table_style)
s.screen_init(args) if s.respond_to?(:screen_init)
s
end
+ def init
+ super.tap do
+ screen_init if respond_to?(:screen_init)
+ end
+ end
+
def loadView
self.respond_to?(:load_view) ? self.load_view : super
end
def viewDidLoad