I just started with Cocoa Binding and I am working on my first application.
Many samples and books use the NSArrayController but since I only want to bind a single Object and his properties to some Textfields I used the NSObjectController. I also don't have a document based application. My application is a simple one-window application.
I start to run into problems when I try to bind my NSObjectController to the Files Owner like all of the samples did. If I do this I can't compile the application. I always get an "This class is not key value compliant" error. But if I bind the NSObjectController to the AppController instance of my Application it works perfectly. I also managed to bind a Textfield to a field of the NSObjectController. This also works as it should.
But I don't know if I am doing the right thing. All the samples I found bind to the Files Owner - something that did not work for my App. Binding to the AppController seems the perfect way for a non document based Application.