Class: MPTableViewCellContentView
- Inherits:
-
UITableViewCellContentView
- Object
- UITableViewCellContentView
- MPTableViewCellContentView
- Defined in:
- motion-prime/support/mp_table_cell_content_view.rb
Instance Attribute Summary collapse
-
#section ⇒ Object
Returns the value of attribute section.
Instance Method Summary collapse
Instance Attribute Details
#section ⇒ Object
Returns the value of attribute section.
2 3 4 |
# File 'motion-prime/support/mp_table_cell_content_view.rb', line 2 def section @section end |
Instance Method Details
#drawRect(rect) ⇒ Object
8 9 10 11 |
# File 'motion-prime/support/mp_table_cell_content_view.rb', line 8 def drawRect(rect) section.try(:draw_in, rect) super end |
#setSection(section) ⇒ Object
4 5 6 |
# File 'motion-prime/support/mp_table_cell_content_view.rb', line 4 def setSection(section) @section = section.try(:weak_ref) end |