ios - uitableviewcells, design concerns -



ios - uitableviewcells, design concerns -

i think i'm not lucid anymore... want display info - retrieved server - in uitableview. created

a wrapper class store info elements collected server. of them stored array. a uitableviewcell subclass display info custom cell a xib file, associated uitableviewcell defined in point 2)

in cellforrowatindexpath: , dequeue instances of 2+3) associate fields of 1) counter parts in defined in 2).

to me looks lot of stuff.

but removing 1) seems difficult, dequeuereusablecellwithidentifier: manages it's own pool of objects, doesn't create sense create array of uitableviewcells in step 1)

removing 3) may possible, adds over-head when setting cell in cellforrowatindexpath:

anyone has found way trim-down on class crowd ?

if cell not complex, can create code in controller displaying data.

if cell has higher complexity, there isn't way trim down. besides 2 classes + resource file not much trying accomplish.

ios uitableview

Comments

Popular posts from this blog

javascript - mongodb won't find my schema method in nested container -

How do you set up a perforce server to work over the internet? -

ios - Lagging ScrollView with UIWebview inside -