• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSSavePanel problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: NSSavePanel problem
      • From: Tom Sutcliffe <email@hidden>
  • Prev by Date: Re: getting an EventRecord?
  • Next by Date: Re: NSSavePanel problem
  • Previous by thread: (no subject)
  • Next by thread: Re: NSSavePanel problem
  • Index(es):
    • Date
    • Thread