UITableViewDelegate UITableViewDataSource 执行顺序
#pragma mark - Table view data source- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView;#pragma mark - Table view delegate- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section;#pragma mark - Table view data source- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section;#pragma mark - Table view delegate- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath;#pragma mark - Table view delegate- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath;#pragma mark - Table view data source- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath;#pragma mark - Table view delegate- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section;
责任编辑:一周新闻回顾:XP退役竟提升全球PC销量