Method: Formotion::Form#row_for_index_path
- Defined in:
- lib/formotion/form/form.rb
#row_for_index_path(index_path) ⇒ Object
Accepts an NSIndexPath and gives back a Formotion::Row EX row = @form.row_for_index_path(NSIndexPath.indexPathForRow(0, inSection: 0))
102 103 104 |
# File 'lib/formotion/form/form.rb', line 102 def row_for_index_path(index_path) self.sections[index_path.section].rows[index_path.row] end |