Re: Iphone Grouped Table View for Settings
Re: Iphone Grouped Table View for Settings
- Subject: Re: Iphone Grouped Table View for Settings
- From: Luke Hiesterman <email@hidden>
- Date: Fri, 17 Jul 2009 07:13:34 -0700
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 those tasks.
Luke
Sent from my iPhone.
On Jul 17, 2009, at 6:39 AM, Trygve Inda <email@hidden>
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.
Luke
Sent from my iPhone.
So I want a TableView but also a few other views in the same screen/
window.
How can I do this in IB. I see examples where the TableView is the
only view
on the screen, and it wants to size itself to max.
Basically my thought was to just drag a TableView onto the view
along with
other objects, but the docs seem to strongly encourage using a
TableViewController.
In the MacOS side of things, I would drag a controller to the nib and
connect it to my table, but the iPhone TableViewController seems to
include
the view already so I am not sure how to make it consume only a
portion of
the main view.
T.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden