Class: RMXTableViewController

Inherits:
UITableViewController
  • Object
show all
Includes:
RMXCommonMethods, RMXKeyboardHelpers, RMXSetAttributes, RMXViewControllerPresentation
Defined in:
lib/motion/RMXTableViewController.rb

Instance Method Summary collapse

Methods included from RMXSetAttributes

included

Methods included from RMXKeyboardHelpers

#keyboardChanged, #keyboardChangedInternal, #keyboard_proxy, #keyboard_proxy_constraints, #listenForKeyboardChanged

Methods included from RMXViewControllerPresentation

included

Methods included from RMXViewControllerPresentation::FactoryMethods

#dismiss, #present

Methods included from RMXCommonMethods

#dealloc, #description, #inspect

Instance Method Details

#didReceiveMemoryWarningObject



55
56
57
58
# File 'lib/motion/RMXTableViewController.rb', line 55

def didReceiveMemoryWarning
  p "didReceiveMemoryWarning"
  super
end

#initObject



14
15
16
17
18
19
20
# File 'lib/motion/RMXTableViewController.rb', line 14

def init
  s = super
  NSNotificationCenter.defaultCenter.addObserver(self, selector:'refresh', name:UIApplicationWillEnterForegroundNotification, object:nil)
  listenForKeyboardChanged
  prepare
  s
end

#loadedObject



11
12
# File 'lib/motion/RMXTableViewController.rb', line 11

def loaded
end

#prepareObject



8
9
# File 'lib/motion/RMXTableViewController.rb', line 8

def prepare
end

#refreshObject



22
23
# File 'lib/motion/RMXTableViewController.rb', line 22

def refresh
end

#rmx_deallocObject



60
61
62
63
# File 'lib/motion/RMXTableViewController.rb', line 60

def rmx_dealloc
  NSNotificationCenter.defaultCenter.removeObserver(self)
  super
end

#viewDidAppear(animated) ⇒ Object



37
38
39
40
41
# File 'lib/motion/RMXTableViewController.rb', line 37

def viewDidAppear(animated)
  s = super
  rmx_viewDidAppear(animated)
  s
end

#viewDidDisappear(animated) ⇒ Object



49
50
51
52
53
# File 'lib/motion/RMXTableViewController.rb', line 49

def viewDidDisappear(animated)
  s = super
  rmx_viewDidDisappear(animated)
  s
end

#viewDidLoadObject



25
26
27
28
29
# File 'lib/motion/RMXTableViewController.rb', line 25

def viewDidLoad
  s = super
  loaded
  s
end

#viewWillAppear(animated) ⇒ Object



31
32
33
34
35
# File 'lib/motion/RMXTableViewController.rb', line 31

def viewWillAppear(animated)
  s = super
  rmx_viewWillAppear(animated)
  s
end

#viewWillDisappear(animated) ⇒ Object



43
44
45
46
47
# File 'lib/motion/RMXTableViewController.rb', line 43

def viewWillDisappear(animated)
  s = super
  rmx_viewWillDisappear(animated)
  s
end