NSSavePanel problem
NSSavePanel problem
- Subject: NSSavePanel problem
- From: Michael Hanna <email@hidden>
- Date: Thu, 1 May 2003 11:20:37 -0400
Hi, this code:
- (IBAction)browseOutput:(id)sender
{
NSSavePanel * fileSaver = [NSSavePanel savePanel];
if([fileSaver runModal]){
NSString * theFilename = [fileSaver theFilename];
[outputFileName setStringValue:theFilename];
}
}
results in a run-time error:
2003-05-01 11:11:31.161 Vox Coder[2242] *** -[NSSavePanel theFilename]:
selector not recognized
2003-05-01 11:11:31.293 Vox Coder[2242] *** -[NSSavePanel theFilename]:
selector not recognized
My NSTextField outlet in IB seems connected to this controller class
and the name is bound in the .h file(including the capital 'N' in
outputFileName).
I honestly am not sure why the output name isn't printing in the
NSTextField after I enter a name in the NSSavePanel...
any ideas?
Michael
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.