I realize this is likely an inane question, but here goes:
I’d like to set the background of a uitableview by code (created using storyboard), however… the only .h file I can find is in the uitableviewcontroller.h in the frameworks folder. There’s no .m file anywhere that I can see, and I need to place code in the “viewdidload” for that particular table.
Thanks for any help in advance!
You need to create your own class that extends
UITableViewController. There you can overrideviewDidLoadand put your code there. Then, in your storyboard, set the custom class for your table view controller to the class you created. You do that in the 3rd tab inside the right-side pane.Even if the source code for
UITableViewControllerwere available (and it is not, since Cocoa is a closed-source framework), your changes there would apply everywhere that class is used, which is never a great idea 🙂