I have an IBOutlet
set up in my header file. I also have a NSTextField
object in my window. I tried editing it using:
[_chapterContent insertText:@"Hi"];
and I have a function to run it but it's not showing up. Why? Am I missing anything?
In my header file, I have:
@property (unsafe_unretained) IBOutlet NSTextView *chapterContent;
In my implementation file:
[_chapterContent insertText:@"Hi"];