Class: ProMotion::TableViewController
- Inherits:
-
UITableViewController
- Object
- UITableViewController
- ProMotion::TableViewController
- Defined in:
- lib/ProMotion/cocoatouch/TableViewController.rb
Direct Known Subclasses
Class Method Summary collapse
Instance Method Summary collapse
- #didRotateFromInterfaceOrientation(orientation) ⇒ Object
- #shouldAutorotate ⇒ Object
- #shouldAutorotateToInterfaceOrientation(orientation) ⇒ Object
- #viewDidAppear(animated) ⇒ Object
- #viewDidDisappear(animated) ⇒ Object
- #viewDidLoad ⇒ Object
- #viewWillAppear(animated) ⇒ Object
- #viewWillDisappear(animated) ⇒ Object
- #willRotateToInterfaceOrientation(orientation, duration: duration) ⇒ Object
Class Method Details
.new(args = {}) ⇒ Object
3 4 5 6 7 |
# File 'lib/ProMotion/cocoatouch/TableViewController.rb', line 3 def self.new(args = {}) s = self.alloc.initWithNibName(nil, bundle:nil) s.on_create(args) if s.respond_to?(:on_create) s end |
Instance Method Details
#didRotateFromInterfaceOrientation(orientation) ⇒ Object
46 47 48 |
# File 'lib/ProMotion/cocoatouch/TableViewController.rb', line 46 def didRotateFromInterfaceOrientation(orientation) self.on_rotate end |
#shouldAutorotate ⇒ Object
38 39 40 |
# File 'lib/ProMotion/cocoatouch/TableViewController.rb', line 38 def shouldAutorotate self.should_autorotate end |
#shouldAutorotateToInterfaceOrientation(orientation) ⇒ Object
34 35 36 |
# File 'lib/ProMotion/cocoatouch/TableViewController.rb', line 34 def shouldAutorotateToInterfaceOrientation(orientation) self.should_rotate(orientation) end |
#viewDidAppear(animated) ⇒ Object
19 20 21 22 |
# File 'lib/ProMotion/cocoatouch/TableViewController.rb', line 19 def viewDidAppear(animated) super self.view_did_appear(animated) if self.respond_to?("view_did_appear:") end |
#viewDidDisappear(animated) ⇒ Object
29 30 31 32 |
# File 'lib/ProMotion/cocoatouch/TableViewController.rb', line 29 def viewDidDisappear(animated) self.view_did_disappear(animated) if self.respond_to?("view_did_disappear:") super end |
#viewDidLoad ⇒ Object
9 10 11 12 |
# File 'lib/ProMotion/cocoatouch/TableViewController.rb', line 9 def viewDidLoad super self.view_did_load if self.respond_to?(:view_did_load) end |
#viewWillAppear(animated) ⇒ Object
14 15 16 17 |
# File 'lib/ProMotion/cocoatouch/TableViewController.rb', line 14 def viewWillAppear(animated) super self.view_will_appear(animated) if self.respond_to?("view_will_appear:") end |
#viewWillDisappear(animated) ⇒ Object
24 25 26 27 |
# File 'lib/ProMotion/cocoatouch/TableViewController.rb', line 24 def viewWillDisappear(animated) self.view_will_disappear(animated) if self.respond_to?("view_will_disappear:") super end |
#willRotateToInterfaceOrientation(orientation, duration: duration) ⇒ Object
42 43 44 |
# File 'lib/ProMotion/cocoatouch/TableViewController.rb', line 42 def willRotateToInterfaceOrientation(orientation, duration:duration) self.will_rotate(orientation, duration) end |