Questions tagged datasource

Explore the latest questions and answers asked by our top developers.

Accessing view controller methods inside another class [Swift]

I am using UITableViewDiffableDataSource for my table view’s dataSource by creating a UITableViewDiffableDataSource class inside my ViewController (AnimalsVC). Whenever I try to get my ViewController’s data array (or any variables/functions) from inside my data source class I get this error: Instance member ‘animalsArray’ of type ‘AnimalsVC’ cannot be used on an instance of nested type […]

By fphelp
Published
Categorised as datasource, ios, swift, uitableview

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq