How to add custom cell in uitableview in objective c?



How to add custom cell in uitableview in objective c?..

Answer / Shameem Alam

"To add a custom cell to a UITableView in Objective-C, you need to create a custom UITableViewCell subclass, register this class with the table view, and dequeue and configure the cells as needed. Here's an example:nn```objective-cnUITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"customCell" forIndexPath:indexPath];n// Configure the cell heren```

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

What is meant by not thread safe?

1 Answers  


What is toll-free bridging? When is it useful?

1 Answers  


What is an instancetype?

1 Answers  


Explain the difference between uiwindow and uiview?

1 Answers  


How much does m files cost?

1 Answers  


What do you mean by category and when to use it?

1 Answers  


Can we create dynamic classes in objective c?

1 Answers  


What are the blocks? How will you use them?

1 Answers  


What is .h and .m file in xcode?

1 Answers  


What do you mean by dot notation?

1 Answers  


What is a selector objective c?

1 Answers  


Who calls dealloc method? Can we implement dealloc in arc? If yes, what is the need to do that?

1 Answers  


Categories