I don't want to use the Settings app as I need a clean way for the user to
get to the settings from within my app and then return to my app. So I need
to build a grouped table view, with each cell containing a single control
(and a label) like the settings app does.
For example, I need a table wit
I haven't played with sliders, but here is an example for a switch:
UITableViewCell *yourCell = [tableView
dequeueReusableCellWithIdentifier:YourCellIdentifier];
if (yourCell == nil)
{
yourCell = [[[UITableViewCell alloc]
initWithStyle:UITableViewCellStyleDefault
reuseIdentifier:YourCel
Look at the table view programming guide for how to build custom table
cells. Just think of each cell as a custom view. They can even be
built in IB easily enough. Drag UITableViewCell objects into your nib
and lay them out however you like.
Luke
Sent from my iPhone.
On Jul 16, 2009, at 9
Also - on iPhone OS 3.0 this is even simpler. You don't need custom
table cells.
UITableViewCell *cell = [tableView
dequeueReusableCellWithIdentifier:CellDetailIdentifier];
if (cell == nil) {
cell = [[[UITableViewCell alloc]
initWithStyle:UITableViewCellStyleValue1
reuseIdentifier:CellD
> Look at the table view programming guide for how to build custom table
> cells. Just think of each cell as a custom view. They can even be
> built in IB easily enough. Drag UITableViewCell objects into your nib
> and lay them out however you like.
>
> Luke
>
> Sent from my iPhone.
So I want a
On Jul 17, 2009, at 9:39 AM, Trygve Inda wrote:
Look at the table view programming guide for how to build custom
table
cells. Just think of each cell as a custom view. They can even be
built in IB easily enough. Drag UITableViewCell objects into your nib
and lay them out however you like.
Lu
Create a view based xib. In the generic view provided add all your
custom views including a UITableView. Don't drag a
UITableViewController - just the UITableView itself. Then be sure to
set the table views data source and delegate outlets to one or two of
your objects that will handle thos
>
> On Jul 17, 2009, at 9:39 AM, Trygve Inda wrote:
>
>>> Look at the table view programming guide for how to build custom
>>> table
>>> cells. Just think of each cell as a custom view. They can even be
>>> built in IB easily enough. Drag UITableViewCell objects into your nib
>>> and lay them out
On Jul 17, 2009, at 7:15 AM, Trygve Inda wrote:
Can I just drag a connection from the UIViewController in one nib
to the
view object in another nib
No. You cannot make connection between nibs. I recommend reading up on
using Interface Builder and nibs to get a better understanding o
>
> On Jul 17, 2009, at 7:15 AM, Trygve Inda wrote:
>
>> Can I just drag a connection from the UIViewController in one nib
>> to the
>> view object in another nib
>
> No. You cannot make connection between nibs. I recommend reading up on
> using Interface Builder and nibs to get a better u
10 matches
Mail list logo