From a114a7bb25b607b91491d18bdea4f80fca5ff110 Mon Sep 17 00:00:00 2001 From: toshiwo Date: Sun, 28 Jul 2013 04:20:26 +0900 Subject: [PATCH] fix a timing to create table_view and call on_load --- lib/ProMotion/table/table.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/ProMotion/table/table.rb b/lib/ProMotion/table/table.rb index 33cca4d..8fca94c 100644 --- a/lib/ProMotion/table/table.rb +++ b/lib/ProMotion/table/table.rb @@ -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