Is it good programming practice to define all (IBAction) methods associated with a NSViewController's .xib within a class extension?
Everything that's in the class extension is private to your class.
So the real question here is your IBAction here is private to your view controller or not. If that's something used internally, like the press of a button to activate a function inside your view controller, then yes, put it in your class extension.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With