Re: NSOpenPanel question
Re: NSOpenPanel question
- Subject: Re: NSOpenPanel question
- From: Robert Fischer <email@hidden>
- Date: Tue, 30 Jul 2002 10:57:14 +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);
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 ;-)
BTW: you should watch out for warnings (not with the NSLog statement,
though) and you may write
NSMutableArray *fileTypes = [NSMutableArray arrayWithObjects: @"rtf",
nil];
Robert
--
--- - .-. -- --
--- / \ ---- Robert Fischer
.-. / \ --- .-. __o .-. @
/ \ / \ / \ _`\<,_ / \ berlin.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.