I'm fairly new to objective-c and have just encountered an error i've not seen before. I'm trying to set a Text Field cell as 'selectable', but i get the error "No Setter method 'setIsSelectable' for assignment to property."
Here are the .h and .m files. Thanks.
DataPanel.h
#import <Cocoa/Cocoa.h>
@interface DataPanel : NSPanel
@property (weak) IBOutlet NSTextFieldCell *textField;
@end
DataPanel.m
#import "DataPanel.h"
@implementation DataPanel
@synthesize textField = _textField;
- (void) awakeFromNib{
_textField.stringValue = @"1.1 Performance standards The overall objective of the performance standards in Section 1.1 is to provide acoustic conditions in schools that (a) facilitate clear communication of speech between teacher and student, and between students, and (b) do not interfere with study activities.";
_textField.isSelectable = YES;
}
@end
@synthesize
hasn't been needed for a few years now. – Dambro