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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to