开发者

Design table-like custom interface without UITableView

I want to create an interface with the look and feel of a table. (e.g. somewhat similar to http://stephenmartin.me/iphone-form-field-design-patterns)

My app is going to display a form with labels/textboxes/buttons

I do not want to use UITable, but want to do using custom views (labels/textboxes)

Could someone provide help or any resources on how I can acheive this.

Basically the look and feel of the form should be elegant like a Table view.

What fonts are used for UITableView?

Upate:

Using a UITableVi开发者_运维技巧ew, I am not able to completely customize the look and feel. like adding buttons, textbox, etc

That is the reason I am looking for a custom view design.


Use UITableview. You can completely customize the contents of every UITableViewCell. Trust me, I used to avoid UITableView because I didn't understand it when I got started with iPhone programming, and it was much more work to create and place all those buttons, and to change their style one by one in Interface Builder when the spec changed, than just learning UITableview and customizing it properly. UITableView is your friend on the iPhone. Again, UITableView is good, learn it, love it, use it. You can create custom UITableViewCells in interface builder, place text boxes, buttons, images, just about anything you can imagine. And in doing so you'll learn more about how .xib files and objective C objects work together, boosting your skills as a developer.

edit: here's one result from googling "custom uitableviewcell" there are many others

http://adeem.me/blog/2009/05/30/iphone-sdk-tutorial-part-6-creating-custom-uitableviewcell-using-interface-builder-uitableview/


Maybe you can use this library to simplify your task:

http://www.sensiblecocoa.com/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜