NSButton referencing outlet won't work?
NSButton referencing outlet won't work?
- Subject: NSButton referencing outlet won't work?
- From: Richard Bannister <email@hidden>
- Date: Sat, 7 Feb 2009 19:54:17 +0000
Folks,
I'm sure this qualifies as a newbie question, but I've just spent an
hour trying to figure something out and I'm stumped...
I am building a NSDocument-based application. The main document window
has a NSButton in it, with a referencing outlet connected to the
following:
@interface MyDocument : NSDocument
{
IBOutlet NSButton *b_ratefreq;
}
Interface Builder assures me that I've got b_ratefreq connected to the
appropriate button.
The selector action for this button works fine - if I click on it,
that does what it should.
However, if I attempt to invoke [b_ratefreq setTitle:@"Test"] nothing
happens, and an attempt to get a [b_rateFreq title] returns NULL.
Am I missing something crucially obvious?
Thanks in advance,
Richard
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden