开发者

What is the even prompted after a UITableView loaded data?

As title

Welcome any commen开发者_C百科t

Thanks

interdev


I'm assuming you mean the event?

In the simplest Table Views the data is loaded whether it be from an array or other object in the controllers viewDidLoad method.

Then -(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section is implemented which just returns the count of the data source object so the table view knows how many objects it will draw.

And finally -(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath is implemented to describe how the cells in the table look by returning a table view cell.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜