lib/ProMotion/cocoatouch/table_view_controller.rb in ProMotion-1.2.1 vs lib/ProMotion/cocoatouch/table_view_controller.rb in ProMotion-2.0.0.rc1

- old
+ new

@@ -1,15 +1,14 @@ module ProMotion class TableViewController < UITableViewController def self.new(args = {}) s = self.alloc.initWithStyle(table_style) - s.on_create(args) if s.respond_to?(:on_create) + s.screen_init(args) if s.respond_to?(:screen_init) s end def loadView - super - self.send(:on_load) if self.respond_to?(:on_load) + self.respond_to?(:load_view) ? self.load_view : super end def viewDidLoad super self.view_did_load if self.respond_to?(:view_did_load)