Tableview with sections
I'm about to load a tableview with two sections. The data will be 开发者_JS百科coming from core data. Would it be better to have them in two entities? There are 10 rows in each section. The sections will at a later stage grow to 20.
I would use an NSDictionary with two NSArray (or NSMutableArray). That way you would avoid if clauses. :)
精彩评论