iphone - “loading” spinner not leaving the TTTableViewController -



iphone - “loading” spinner not leaving the TTTableViewController -

i had tttableviewcontroller used in ipad , want empty. when first loads calls:

- (id)initwithnavigatorurl:(nsurl*)url query:(nsdictionary*)query { if (self = [super init]) { self.datasource = nil; } homecoming self; }

however, "loading" spinner stays in there , won't go away. why this? thought happen because init wasn't called, indeed is. need help.

when tttableviewcontroller presented on screen, accesses it's model. if there's no model set, in case creates model in [ttmodelviewcontroller createinterstitialmodel]. default ttmodel (the class not protocol), in turn nil appearing loading.

in createmodel implementation need create model want , assign self.model.

also note, creating datasources , / or model in initializer not optimal, consider creating datasources / models in createmodel. created when needed (when view appears on screen).

iphone objective-c ipad three20

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -