Module: ProMotion::MotionTable::PlainTable

Includes:
RefreshableTable, SearchableTable, SectionedTable
Included in:
TableScreenModule
Defined in:
lib/ProMotion/screen_helpers/_tables/plain_table.rb

Instance Method Summary collapse

Methods included from RefreshableTable

#end_refreshing, #make_refreshable, #refreshView, #start_refreshing

Methods included from SearchableTable

#make_searchable, #searchDisplayController, #searchDisplayControllerWillBeginSearch, #searchDisplayControllerWillEndSearch

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



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

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