I'm pretty new to Objective-C for Mac OS X, so feel free to tell me if I am doing something silly, but I've been trying to create action methods for objects in the preference .xib files and have been unable to do so. For example, when I create a
- (IBAction)someAction:(id)sender
method in OSBGeneralPreferencesViewController and connect it to the checkbox in the integrated interface builder, I get the following runtime log
Could not connect the action someAction: to target of class NSViewController".
Is this a limitation of the way that OSBPreferencesController works? Is there a way to use custom actions for the individual preference panes?
I really love the idea of having OSX Boilerplate code for common functionality and was amazed how easy it was to incorporate into my current project until I hit this stumbling block.
I'm pretty new to Objective-C for Mac OS X, so feel free to tell me if I am doing something silly, but I've been trying to create action methods for objects in the preference .xib files and have been unable to do so. For example, when I create a
method in OSBGeneralPreferencesViewController and connect it to the checkbox in the integrated interface builder, I get the following runtime log
Is this a limitation of the way that OSBPreferencesController works? Is there a way to use custom actions for the individual preference panes?
I really love the idea of having OSX Boilerplate code for common functionality and was amazed how easy it was to incorporate into my current project until I hit this stumbling block.