Class: MemoryLeakController

Inherits:
UIViewController show all
Defined in:
app/controllers/memory_leak_controller.rb

Constant Summary collapse

DidDeallocNotification =
'DidDeallocNotification'

Instance Method Summary collapse

Methods inherited from UIViewController

#autorotateMask, #autorotateToOrientation, #top_level_view, #viewDidLoad, #willAnimateRotationToInterfaceOrientation

Methods included from Teacup::Controller

included, #layoutDidLoad, #stylesheet=, #teacupDidLoad

Methods included from Teacup::Layout

#auto, included, #layout, #stylesheet, #stylesheet=, #subview, #top_level_view

Instance Method Details

#deallocObject



12
13
14
15
# File 'app/controllers/memory_leak_controller.rb', line 12

def dealloc
  NSNotificationCenter.defaultCenter.postNotificationName(DidDeallocNotification, object:self)
  super
end