I want this method to be applied in an iOS app, but since I think this applies to cocoa, I may as well ask here. I want to make a custom view controller, and add some variables and methods. However, I want the same variables and methods to be applied into NSTableViewControllers, too. So I need a way to tell Cocoa to load my custom view controller instead of the normal one. and derive NSTableViewController from my custom view controller, too. How can I do this in Cocoa?