What is difference between datasource and delegate?
Answer / Bikram Kumar Tiwary
A data source is an object that provides data to a view or table, while a delegate is an object that handles events and responses related to the view or table. In iOS development, both UITableView and UICollectionView have a data source and a delegate.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to make a code snippet thread safe?
What are the types of ios binaries you can create using xcode?
Why do we require class extension?
Can you please explain the way messaging works in objective-c?
What are static attributes?
Explain what do you mean by dot notation?
Can you write setter method for a retain property?
Does objective-c contain private strategies?
What is extern objective c?
What is difference between c and objective c?
What does the objective c program fundamentally comprise of?
Tell us the result when you invoke a particular method on a nil pointer?