best way to build iphone settings screen
Posted
by
Christian Schlensker
on Stack Overflow
See other posts from Stack Overflow
or by Christian Schlensker
Published on 2011-01-02T22:35:37Z
Indexed on
2011/01/02
22:54 UTC
Read the original article
Hit count: 211
I'm building a settings screen for an iPhone app and it is supposed to resemble a grouped table view. Each "cell" should behave like a button. Most cells just have a image view, label view, and disclosure indicator. One will display a value in addition to a label. All of these buttons will present a new view when tapped.
Now, how to implement this? I was considering just laying out a set of buttons with custom background images, or would it be best to just use a table view. If that's the case what should it be implemented. So far I've only used table views to display some kind of dynamic data in which each cell displayed the same basic detail view. I'm most curious to figure out how to setup cellForRowAtIndexPath. Would this contain some sort of switch statement to configure each cell individually, or is there an easier way to handle all this?
© Stack Overflow or respective owner