Module: ProMotion::MotionTable::GroupedTable

Includes:
RefreshableTable, SectionedTable
Included in:
GroupedTableScreen
Defined in:
lib/ProMotion/screen_helpers/_tables/grouped_table.rb

Instance Method Summary collapse

Methods included from RefreshableTable

#end_refreshing, #make_refreshable, #refreshView, #start_refreshing

Methods included from SectionedTable

#accessory_toggled_switch, #cell_at_section_and_index, #create_table_view_from_data, #numberOfSectionsInTableView, #remap_data_cell, #sectionIndexTitlesForTableView, #section_at_index, #set_table_view_data, #table_setup, #trigger_action, #update_table_view_data

Methods included from ViewHelper

#content_height, #frame_from_array, #objective_c_method_name, #set_attribute, #set_attributes, #set_easy_attributes

Instance Method Details

#table_viewObject Also known as: tableView



6
7
8
9
10
11
# File 'lib/ProMotion/screen_helpers/_tables/grouped_table.rb', line 6

def table_view
  @table_view ||= UITableView.alloc.initWithFrame(self.view.frame, style:UITableViewStyleGrouped)
  @table_view.dataSource = self;
  @table_view.delegate = self;
  return @table_view
end