`
liuzhifu123
  • 浏览: 34769 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

iPhone 开发:UITableView and UITableViewController

 
阅读更多

注:本文是一份学习笔记。

 

 UITableViewCell is a subclass of UIView, and each row in a UITableView is represented by a UITableViewCell. (Recall that a table on the iPhone can only have one column, so a row will only have one cell.)

 

A UITableView asks its data source for the cells it should display when it is first added to the screen and at least three other times:
• when the user scrolls the table view
• when the table view is removed from the view hierarchy and then added back to the view hierarchy
• when your code sends the message reloadData to the UITableView

 



分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics