Re: NSWorkspace Problems
Re: NSWorkspace Problems
- Subject: Re: NSWorkspace Problems
- From: Douglas Davidson <email@hidden>
- Date: Thu, 5 Jul 2001 13:23:30 -0700
On Wednesday, July 4, 2001, at 03:50 PM, Brendan Younger wrote:
>
First, some of NSWorkspace's file operations don't seem to work.
>
Duplicate and recycle work fine when passed to this function, but
>
encrypt, decrypt, compress, and decompress don't. Please help.
This is a known problem. The Workspace that used to provide all of
these operations is no longer around. The operations will probably
return in a future release.
>
[one setImage:[[[NSWorkspace sharedWorkspace]
>
iconForFileType:NSPlainFileType] retain]];
As the header states, NSPlainFileType and the rest are return values for
getInfoForFile:, nothing else. They can't be used this way.
Douglas Davidson