I have used the IDE to assign a checkbox to an outlet to check its value.
However I can't figure out what to use for it. I have tried NSObject or NSButton because there is no NSCheckBox however I get warnings of: "Warning: 'NSObject' may not respond to 'isEqualToString.'"
Here is the Code:
Where did I screw up? Eventually I will be setting it to an array which is for a later date.
However I can't figure out what to use for it. I have tried NSObject or NSButton because there is no NSCheckBox however I get warnings of: "Warning: 'NSObject' may not respond to 'isEqualToString.'"
Here is the Code:
Code:
header file:
NSObject *cse211djq
.m file
if([cse211djq isEqualToString:@"CSE-211-DJQ"] == YES) {
Where did I screw up? Eventually I will be setting it to an array which is for a later date.