Class: ProMotion::TableViewController
- Inherits:
-
UITableViewController
- Object
- UITableViewController
- ProMotion::TableViewController
show all
- Defined in:
- lib/ProMotion/cocoatouch/table_view_controller.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.new(args = {}) ⇒ Object
3
4
5
6
7
|
# File 'lib/ProMotion/cocoatouch/table_view_controller.rb', line 3
def self.new(args = {})
s = self.alloc.initWithStyle(table_style)
s.screen_init(args) if s.respond_to?(:screen_init)
s
end
|
Instance Method Details
#didRotateFromInterfaceOrientation(orientation) ⇒ Object
50
51
52
|
# File 'lib/ProMotion/cocoatouch/table_view_controller.rb', line 50
def didRotateFromInterfaceOrientation(orientation)
self.on_rotate
end
|
#loadView ⇒ Object
9
10
11
|
# File 'lib/ProMotion/cocoatouch/table_view_controller.rb', line 9
def loadView
self.respond_to?(:load_view) ? self.load_view : super
end
|
#shouldAutorotate ⇒ Object
42
43
44
|
# File 'lib/ProMotion/cocoatouch/table_view_controller.rb', line 42
def shouldAutorotate
self.should_autorotate
end
|
#shouldAutorotateToInterfaceOrientation(orientation) ⇒ Object
38
39
40
|
# File 'lib/ProMotion/cocoatouch/table_view_controller.rb', line 38
def shouldAutorotateToInterfaceOrientation(orientation)
self.should_rotate(orientation)
end
|
#viewDidAppear(animated) ⇒ Object
23
24
25
26
|
# File 'lib/ProMotion/cocoatouch/table_view_controller.rb', line 23
def viewDidAppear(animated)
super
self.view_did_appear(animated) if self.respond_to?("view_did_appear:")
end
|
#viewDidDisappear(animated) ⇒ Object
33
34
35
36
|
# File 'lib/ProMotion/cocoatouch/table_view_controller.rb', line 33
def viewDidDisappear(animated)
self.view_did_disappear(animated) if self.respond_to?("view_did_disappear:")
super
end
|
#viewDidLoad ⇒ Object
13
14
15
16
|
# File 'lib/ProMotion/cocoatouch/table_view_controller.rb', line 13
def viewDidLoad
super
self.view_did_load if self.respond_to?(:view_did_load)
end
|
#viewWillAppear(animated) ⇒ Object
18
19
20
21
|
# File 'lib/ProMotion/cocoatouch/table_view_controller.rb', line 18
def viewWillAppear(animated)
super
self.view_will_appear(animated) if self.respond_to?("view_will_appear:")
end
|
#viewWillDisappear(animated) ⇒ Object
28
29
30
31
|
# File 'lib/ProMotion/cocoatouch/table_view_controller.rb', line 28
def viewWillDisappear(animated)
self.view_will_disappear(animated) if self.respond_to?("view_will_disappear:")
super
end
|
#willRotateToInterfaceOrientation(orientation, duration: duration) ⇒ Object
46
47
48
|
# File 'lib/ProMotion/cocoatouch/table_view_controller.rb', line 46
def willRotateToInterfaceOrientation(orientation, duration:duration)
self.will_rotate(orientation, duration)
end
|