motion/input_helpers.rb
def field_at(index)
      data = self.class.instance_variable_get('@binding_data'.to_sym)
      data[index].tag = index + 1
      data[index]
    end
def field_at(index)
      data = self.class.instance_variable_get('@binding_data'.to_sym)
      data[index].tag = index + 1
      data[index]
    end
def field_at ( index ) data = self . class . instance_variable_get ( '@binding_data' . to_sym ) data [ index ] . tag = index + 1 data [ index ] end
+field_at+ retrieves the field at a given index.

 Usage:

     field = field_at(indexPath.row)
     label_view = subview(UILabel, :label_frame, text: field.label)
+ field_at + retrieves the field at a given index .