I'm new to GUI programming on the Mac, and I ran across this little bit of code that absolutely helps me do what I want to do, but I'm not sure what's going on in it. Here's the code:
@interface ReadWriteController : NSObject {
IBOutlet NSTextField* pathField;
IBOutlet NSTextField* outputField;
}
So, I understand that there is an NSTextField pointer. I understand that I need an outlet to send IBActions. What I don't understand is what this specific syntax actually does. Is it specifying that the NSTextField has an IBOutlet of the same name?
Thanks!
@interface ReadWriteController : NSObject {
IBOutlet NSTextField* pathField;
IBOutlet NSTextField* outputField;
}
So, I understand that there is an NSTextField pointer. I understand that I need an outlet to send IBActions. What I don't understand is what this specific syntax actually does. Is it specifying that the NSTextField has an IBOutlet of the same name?
Thanks!