• 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
Re: NSOpenPanel question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOpenPanel question


  • Subject: Re: NSOpenPanel question
  • From: Raymund Beyer <email@hidden>
  • Date: Tue, 30 Jul 2002 20:08:51 +0200

>On Monday, July 29, 2002, at 08:23 PM, Raymund Beyer wrote:
>>
>> Does anyone have an idea why?
>>
>>
>> NSLog (@"\nfileNames:%@\nfileTypes:%@\npath:", fileNames, fileTypes,
>> path);

Robert Fischer wrote:
>Oh yes, after trying this code myself and also wondering what is happening
>I found the beast in the NSLog statement: you missed one %@ after path:!
>Oh boy ;-)

Hi Robert,
thanks a lot! After 2 hours of trying after sending the initial mail I've
also found it.
I very sorry, I'm just starting learning Cocoa...

>BTW: you should watch out for warnings (not with the NSLog statement,
>though) and you may write
> NSMutableArray *fileTypes = [NSMutableArray arrayWithObjects: @"rtf",
>nil];

Thanks for that one, looks more elegant.

Best regards

Ray

---------------------------------
Raymund Beyer
D3, 4
D-68053 Mannheim
Germany
email@hidden
http://www.brainstorm-music.com
http://www.ezee.de
---------------------------------
_______________________________________________
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: NSOpenPanel question
      • From: Ondra Cada <email@hidden>
References: 
 >Re: NSOpenPanel question (From: Robert Fischer <email@hidden>)

  • Prev by Date: Re: Acid Test For MVC Design?
  • Next by Date: finder
  • Previous by thread: Re: NSOpenPanel question
  • Next by thread: Re: NSOpenPanel question
  • Index(es):
    • Date
    • Thread