题库 软件开发 题目列表 当类遵循UITableViewDataSource协议时,以下哪个方...
单选题

当类遵循UITableViewDataSource协议时,以下哪个方法必须实现?

A.

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section

B.

- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView

C.

- (nullable NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section

D.

- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath

题目信息
校招真题
-
正确率
0
评论
9
点击