How to make a beautiful Tableview like Facebook io

2020-06-19 07:13发布

As shown in pictures below:

I want to make the UITableView of my app to look clean and unique just like these two apps. Is this achievable by UITableView? I guess I might have to use "Sections" . Is this correct? If anyone can provide link to a tutorial for creating these kinds of UIs, or 3rd party code would be nice.

Thanks in advance.

facebook tumblr

This is what I have done so far. I want the cell to look isolated .

squak app

2条回答
一夜七次
2楼-- · 2020-06-19 07:34

Check out this cocoa control and make your own

FB Gallery

These are table views with custom cells. You can sub class the UITableViewCell and customise it according to your needs

查看更多
老娘就宠你
3楼-- · 2020-06-19 07:43

Kong,

There are many ways to implement this. To give you a start, though, each of these are examples of "grouped tableviews." You can set your tableview to this style in the storyboard. From there, you can modify the UITableView's background color to whatever you want (left is gray, right is some shade of blue). You can add the square effect, and do any number of things to make your views more beautiful. Each section represents a different grouping and you can modify each cell in a section to present different information differently by registering each cell with a re-use identifier in a storyboard (for example, status update cell versus album presentation view above) and present the appropriately formatted cells when you need them. The sky's the limit!

查看更多
登录 后发表回答