What is datasource in ios?



What is datasource in ios?..

Answer / Kavita Ranjhia

In iOS, a data source is an object that provides the data for a table view or a collection view. The data source conforms to the UITableViewDataSource or UICollectionViewDataSource protocol and implements the required methods like numberOfRowsInSection, cellForRowAtIndexPath, and didSelectRowAtIndexPath (for UITableView).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apple iOS Interview Questions

What is push notification?

1 Answers  


Who is the developer of ios?

1 Answers  


How do I get rid of app errors on iphone?

1 Answers  


What is libdispatch?

1 Answers  


What ios version onwards arc can be used?

1 Answers  


What kind of database is realm?

1 Answers  


What is uitableviewdatasource?

1 Answers  


What persistent storage used in mobile apps - ios?

1 Answers  


 Which framework delivers event to custom object when app is in foreground? 

1 Answers  


What is a protocol in objective-c programming language?

1 Answers  


How do you stop apps running in the background on ios?

1 Answers  


How can an operating system improve battery life while running an app in iOS operating system?

1 Answers   TryTechnicals Pvt Ltd,


Categories