Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

UITableViewController and UITableViewSource - one file with inner class vs two files

$
0
0

Has anyone experimented with having the UITableViewSource as an inner class of the UITableViewController vs having it in a separate file? It seems like when they are in separate files I find myself going back and forth between the two all the time and end duplicating a significant amount of code. Then, the other day when I was trying to raise an event declared in the TableViewController from the TableViewSource I realized that I couldn't, so I had to break it out into two separately declared events and bubble it up, which seems cumbersome. Any thoughts from more experienced Xamarin people?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>