Method: ProMotion::MotionTable::SectionedTable#numberOfSectionsInTableView
- Defined in:
- lib/ProMotion/screen_helpers/_tables/_sectioned_table.rb
#numberOfSectionsInTableView(table_view) ⇒ Object
Cocoa touch methods, leave as-is #################
84 85 86 87 88 89 90 91 |
# File 'lib/ProMotion/screen_helpers/_tables/_sectioned_table.rb', line 84 def numberOfSectionsInTableView(table_view) if @mt_filtered return @mt_filtered_data.length if @mt_filtered_data else return @mt_table_view_groups.length if @mt_table_view_groups end 0 end |