lib/ProMotion/cocoatouch/table_view_controller.rb in ProMotion-1.0.4 vs lib/ProMotion/cocoatouch/table_view_controller.rb in ProMotion-1.1.0.rc1

- old
+ new

@@ -1,9 +1,9 @@ module ProMotion class TableViewController < UITableViewController def self.new(args = {}) - s = self.alloc.initWithNibName(nil, bundle:nil) + s = self.alloc.initWithStyle(table_style) s.on_create(args) if s.respond_to?(:on_create) s end def loadView @@ -50,6 +50,6 @@ def didRotateFromInterfaceOrientation(orientation) self.on_rotate end end -end \ No newline at end of file +end