Module: Prime::AsyncFormMixin

Defined in:
motion-prime/sections/_async_form_mixin.rb

Instance Method Summary collapse

Instance Method Details

#reload_table_dataObject



3
4
5
6
7
8
9
10
# File 'motion-prime/sections/_async_form_mixin.rb', line 3

def reload_table_data
  return super unless async_data?
  sections = NSMutableIndexSet.new
  number_of_groups.times do |section_id|
    sections.addIndex(section_id)
  end
  table_view.reloadSections sections, withRowAnimation: UITableViewRowAnimationFade
end