Class: MotionLayoutController::CustomContainer

Inherits:
UIView
  • Object
show all
Defined in:
app/controllers/motion_layout_controller.rb

Instance Attribute Summary collapse

Attributes included from Teacup::View

#debug, #style_classes, #stylename, #teacup_next_responder

Instance Method Summary collapse

Methods inherited from UIView

#style, #teacup_animation, #top_level_view

Methods included from Teacup::View

#_teacup_check_stylename, #add_style_class, #add_uniq_constraints, #animate_to_style, #animate_to_stylename, #animate_to_styles, #apply_constraints, #apply_style_properties, #apply_stylename, #get_ns_constraints, #remove_style_class, #reset_constraints, #restyle!, #style, #stylesheet, #stylesheet=, #teacup_subviews, #viewWithStylename, #viewsWithStylename

Methods included from Teacup::Layout

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

Instance Attribute Details

#label4Object (readonly)

Returns the value of attribute label4.



27
28
29
# File 'app/controllers/motion_layout_controller.rb', line 27

def label4
  @label4
end

Instance Method Details

#initObject



29
30
31
32
33
# File 'app/controllers/motion_layout_controller.rb', line 29

def init
  super.tap do
    @label4 = subview(UILabel, :label4, text: 'label4')
  end
end