Class: ConstraintsController

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

Instance Attribute Summary collapse

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 Attribute Details

#btm_right_viewObject (readonly)

Returns the value of attribute btm_right_view.



2
3
4
# File 'app/controllers/constraints_controller.rb', line 2

def btm_right_view
  @btm_right_view
end

#center_viewObject (readonly)

Returns the value of attribute center_view.



2
3
4
# File 'app/controllers/constraints_controller.rb', line 2

def center_view
  @center_view
end

#containerObject (readonly)

Returns the value of attribute container.



2
3
4
# File 'app/controllers/constraints_controller.rb', line 2

def container
  @container
end

Returns the value of attribute footer_view.



2
3
4
# File 'app/controllers/constraints_controller.rb', line 2

def footer_view
  @footer_view
end

#header_viewObject (readonly)

Returns the value of attribute header_view.



2
3
4
# File 'app/controllers/constraints_controller.rb', line 2

def header_view
  @header_view
end

#left_viewObject (readonly)

Returns the value of attribute left_view.



2
3
4
# File 'app/controllers/constraints_controller.rb', line 2

def left_view
  @left_view
end

#top_right_viewObject (readonly)

Returns the value of attribute top_right_view.



2
3
4
# File 'app/controllers/constraints_controller.rb', line 2

def top_right_view
  @top_right_view
end

Instance Method Details

#supportedInterfaceOrientationsObject



24
25
26
# File 'app/controllers/constraints_controller.rb', line 24

def supportedInterfaceOrientations
  UIInterfaceOrientationMaskAllButUpsideDown
end