mirror of
https://github.com/zhigang1992/ProMotion.git
synced 2026-05-30 17:33:53 +08:00
Merge pull request #246 from toshiwo/fix_timing_to_create_table_view_and_call_on_load
Fix a timing to create table_view and call on_load
This commit is contained in:
@@ -31,6 +31,9 @@ module ProMotion
|
||||
end
|
||||
|
||||
def set_up_table_view
|
||||
# before access self.table_data, create UITableView and call on_load
|
||||
table_view
|
||||
|
||||
self.view = self.create_table_view_from_data(self.table_data)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user