Re: NSOpenPanel question
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.