Class: Loco::UI::View
- Inherits:
-
UIView
- Object
- UIView
- Loco::UI::View
- Includes:
- Observable, Resizable
- Defined in:
- lib/motion-loco/views.rb
Instance Attribute Summary
Attributes included from Resizable
#bottom, #height, #left, #parent_view, #right, #top, #width
Instance Method Summary collapse
- #border_radius ⇒ Object (also: #borderRadius)
- #border_radius=(radius) ⇒ Object (also: #borderRadius=)
Methods included from Observable
#init, #initWithFrame, #initWithStyle, #initialize, #method_missing, #register_observer, #remove_all_observers, #remove_observer, #set_properties, #update_attributes
Methods included from Resizable
#initWithFrame, #refresh_layout, #viewSetup, #view_setup, #willMoveToSuperview
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Loco::Observable
Instance Method Details
#border_radius ⇒ Object Also known as: borderRadius
107 108 109 |
# File 'lib/motion-loco/views.rb', line 107 def border_radius self.layer.cornerRadius end |
#border_radius=(radius) ⇒ Object Also known as: borderRadius=
112 113 114 |
# File 'lib/motion-loco/views.rb', line 112 def border_radius=(radius) self.layer.cornerRadius = radius end |