UITableView - Sectioned Table View
UITable View—分组列表视图
Introduction
本章介绍
So far we have seen how easy it is to display list of items in a table view. As it turns out, displaying grouped items is easy too. This is the third tutorial in the UITableView tutorial series and it borrows its source code from the previous one. This is how the final app will look like
...
Tags: UITableView iPhone 实例 object-c
Introduction
介绍
In this tutorial, you will learn how to navigate to the detail view and also pass some data at the same time. This is the second tutorial in the UITableView tutorial series and inherits its source code from the first tutorial.
在这篇教程中,你将学会如何导航到细节视图(detail view)并同时传递一些数据。这是UITableView系列教程中的第二篇,本篇教程继承我们在上一篇教程中所用到的代码和方法。
Tags: UITableView iPhone 实例 object-c
In most cases, the requirement is to select an item from the list displayed and then load the details of the selected item in a detail view. UITableView is only responsible for the list of items it displays, the navigation that happens between the list of items and the detail view is handled by the UINavigationController. So the table view always works with the navigation controller and viceversa. This is how the final app looks like:
在开发iPhone应用程序的大多数时候,我们需要展示一个列表,当用户选择其中一个条目 时,展示所选条目的详细信息。UITbleView是最适合显示项目列表控件,而UINavigationController控制的导航条则配合列表界 面和细节信息界面的切换。所以table view视图总是和导航条控件一并使用,反之亦然。本例最终界面如下:

Tags: UITableView iPhone 实例 object-c
在学校的时候就听说过,全民所有制企业与私营企业,或者外资企业等等;但那个时候的概念还不是那么清晰,至于有多大的区别也不是很理解。毕业后,走进社会开始谋生之道时,慢慢的开始理解了。全民所有制就是所谓的国企,其它类型的基本上就是私企了。最近因为成了黑户,所以不得不办理户籍的问题。
在私企的同学大部分都是在人事局托管档案和户籍的,大些的公司都是公司给出托管费用。这到也合情合理,政府帮公司代管,理应收取企业的代管费用。但年轻的我们总是有太多的梦想、太多的追求、也或许有很多无赖,没有在国企或者很大的私企。想说不要档案了吧,这又是多年寒窗而得,对于还在为生存而忙碌的人,这可能是日后重要的保障,具体有什么我也不清楚,不过在中国这东西还是很重要的。所以得把档案托管到人事局里面,美其名曰:“人事代理”,“个人托管”。有了代理,有了托管也就有了合情合理的代理费用,少则几十元,多则几百元,不多不少。然而,制定政策的人可能、或者却没有考虑到,在这儿托管的人很大一部分是“流浪的大学毕业生”,不过在政府眼里应该是:“流动人员”,或者:“流动性人才”。其实不管叫什么,也都无所谓。对于这些无处安放理想的一族,最大的愿望也只是求一个平凡的生活而已。但为此,多少人数载寒窗而飘零于中国的大街小巷。更好一点的,能有个临时的工资不高的工作。
...