Re: Is it a bug in the AppKit code or a lack of clear explanation in the documentation of NSOpenPanel?
Re: Is it a bug in the AppKit code or a lack of clear explanation in the documentation of NSOpenPanel?
- Subject: Re: Is it a bug in the AppKit code or a lack of clear explanation in the documentation of NSOpenPanel?
- From: Lorenzo Puleo <email@hidden>
- Date: Sun, 23 Mar 2003 01:52:32 +0100
To be sure a folder is a simple folder and not a filePackage (that is an
application) you have to check both of these:
[manager fileExistsAtPath:theItem isDirectory:&isDir];
isDir = (isDir && ![workSpace isFilePackageAtPath:theItem]);
Best Regards
--
Lorenzo Puleo
email: email@hidden
_______________________________________________
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.