• 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
FileWrapper Icon for non-document based app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FileWrapper Icon for non-document based app


  • Subject: FileWrapper Icon for non-document based app
  • From: Ron Medina Ballesteros <email@hidden>
  • Date: Thu, 22 Jan 2004 22:35:36 -0800

I have a non-document based app that creates a package file using
NSFileWrapper and everything works on this part. The problem that I am
having is that the file package is viewed by Finder as a folder as
opposed to a packaged file.

I searched the archives as how to fix this and the results that I found
was to simply edit the plist file with an entry of
CFBundleDocumentTypes. However most of them were geared towards
document based apps.

I'm just unsure as to how to have the file package created use the same
icon that my app uses.

I tried creating an NSImage using initWithContentsOfFile: using the
same tiff file that I used for my icon and then using NSFileWrapper's
setIcon: but this didn't seem to work either.

I'm probably overlooking something so any help would be appreciated.

Thanks.

ron
_______________________________________________
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.

  • Prev by Date: NSTask Memory Problems
  • Next by Date: Multiple document models.
  • Previous by thread: Re: NSTask Memory Problems
  • Next by thread: Re: FileWrapper Icon for non-document based app
  • Index(es):
    • Date
    • Thread