Hello there fellow programmers,
I am wondering how to add the SDNestedTable into a project of mine.
Here is the source code for the SDNestedTable:
https://github.com/serverdensity/ios-SDNestedTable
I would like to add this table to a subview of one of my XIB’s in my project.
Thanks, hopefully someone can help me out! 🙂
If you add a UITableView to your XIB file, then click on the second tab (right side panel) and in that make the class the SDNestedTable rather than your UITableView so it makes it that class instead, assuming also that SDNestedTable is a subclass of UITableViewController.
You should be able to then add your property to your .h file and attach it in your XIB:
and in your .m file will go all the delegate methods you need that are also listed at the bottom of the github link you’ve provided, similarly to a UITableView and the dataSource and delegate methods they have I would imagine.