• 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: NSWorkspace Problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSWorkspace Problems (From: Brendan Younger <email@hidden>)

  • Prev by Date: Re: Updating available services with -[NSWorkspace findApplications]
  • Next by Date: Re: New to cocoa; okay to use C sockets?
  • Previous by thread: NSWorkspace Problems
  • Next by thread: Capturing Keys
  • Index(es):
    • Date
    • Thread