ios - Loading Data Asynchronously into UITableView -
i using xcode 7 beta , swift, , storing data using parse.com. in method in uitableviewcontroller should asking data database? need ensure present point in lifecycle of controller @ cells need presented.
is there anyway guarantee if loading data asynchronously?
viewdidload
place there might few second difference between displaying blank tableview
, when gets populated depending on how long takes pull data.
so in viewdidload
you'll tell parse sdk pull data , when it's complete, can call [self.tableview reloaddata]
Comments
Post a Comment