Method: ProMotion::MotionTable::SectionedTable#tableView

Defined in:
lib/ProMotion/screen_helpers/_tables/_sectioned_table.rb,
lib/ProMotion/screen_helpers/_tables/_sectioned_table.rb,
lib/ProMotion/screen_helpers/_tables/_sectioned_table.rb,
lib/ProMotion/screen_helpers/_tables/_sectioned_table.rb,
lib/ProMotion/screen_helpers/_tables/_sectioned_table.rb

#tableView(table_view, didSelectRowAtIndexPath: index_path) ⇒ Object

Number of cells



94
95
96
97
# File 'lib/ProMotion/screen_helpers/_tables/_sectioned_table.rb', line 94

def tableView(table_view, numberOfRowsInSection:section)
  return section_at_index(section)[:cells].length if section_at_index(section) && section_at_index(section)[:cells]
  0
end