ios - Implementing a complex detail view using a UITableView -
i'm working xcode 6.
let's have recipe object (has title, description, preparationtime, , categoryname properties) , array of ingredients objects (which of course variable each recipe). represent detail view of recipe :
so thinking using single uitableviewcontroller dynamic prototypes (using no storyboards nor xib file table view) containing 3 sections , 3 arrays.
- first array : name, description, preparationtime
- second array : categoryname
- third array : recipe.ingredients
for first cell, use custom cell (with of xib file). , each section, cell identifier different.
is correct way implement recipe detail view ?
Comments
Post a Comment