UITableView In Objective C
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
{
return number of Section (e.g 2);
}
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
return Array.count;
}
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
//Your Cell Hear...
}
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
{
return 10;
}
Comments
Post a Comment
Thank You.