Hello,
I am very new to xcode and I am simply trying to enable/disable an NSButton and I just can't seem to figure it out. Could smeone help me in this.
So just for a test I have a form with 2 buttons on it. I am clicking the button ConnectButton and expecting TestButton to become disabled. However tis never happens. I have tried many things but never get the TestButton to become disabled.
This is what I have so far:
In the .h file
@property (unsafe, nonatomic) IBOutlet NSButton *ConnectButton
@property (unsafe, nonatomic) IBOutlet NSButton *TestButton
In the .m file
Under the (IBAction)ConnectButton:9id)sender {
[ _TestButton setEnabled: NO ]
}
Thanks
Mike