I am making a simple dialog in Xcode 4 using Interface Builder. I have three NSButtons, all of which are connected to the corresponding IBOutlets. However, I have an NSTextView that I would also like to attach. I have an ad for it in MyDialog.h :
@interface MyDialog : NibLoaderOC { @public IBOutlet NSTextView* tv; IBOutlet NSButton* acceptButton; IBOutlet NSButton* editButton; IBOutlet NSButton* rejectButton; } @end
But when I drag the line "New abstract line" over tv , it will not stand out. If I try to make a new outlet, she will say:
Unable to insert new output connection: Could not find information for class named MyDialog
I tried restarting Xcode, it does nothing. What am I doing wrong?
source share