-1

I'm trying to implement a timeline liked path in my iPhone app. I think tableview should be used here. But in Path, each table cell will be different if the content is different. For example when there is a location available, there be a location icon in the timeline. Like the following:

enter image description here

I think the cell in tableview should be similar, so I'm confused how to implement a timeline like Path. Is there any good idea or reference or open source I can learn from? Thank you!

4

2 回答 2

0

亚马逊有一本关于 iOS 表格视图的好书。它甚至讨论了有关 Path 如何使用自定义视图单元格进行 UITableView 布局的事情。我已经完成了一半,并且学到了很多东西。

Pro iOS 表格视图:适用于 iPhone、iPad 和 iPod touch

于 2013-06-18T02:44:31.500 回答
0

请参考以下示例,它将让您了解 tableview 等路径的实现,

https://github.com/fumin65/path

见以下路径演示项目

https://github.com/JPluto/Path2DemoPrj

于 2013-06-18T05:03:44.017 回答