FileWrapper Icon for non-document based app
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.