Document Types problem
Document Types problem
- Subject: Document Types problem
- From: Damien Pacaud <email@hidden>
- Date: Wed, 13 Aug 2003 10:47:34 +0200
hi, after having spent a reasonable amount of time on that problem I
decided to ask for help ;)
i'd like to start with the fact that I am pretty new to cocoa.
I am trying to get a image viewer to work.
The application is running fine but when i click on the open item in
the file menu, My HDD comes up and I can't select any files at all....
I found out after a few moments that I had to specify the file types
associated with my application so here is my info.plist section for
bitmap images :
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>bmp</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>156</string>
<key>CFBundleTypeName</key>
<string>Windows BitMap Image</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>BMP </string>
<string>BMPf</string>
</array>
<key>CFBundleTypeRole</key>
<string>Editor</string>
</dict>
I thought that would work after a few cleaning / builds but I still
can't open a single Bitmap file. My HDD comes up but the files that end
with the .bmp extension remain gray...
Does anyone have some kind of advice for me, any help would be really
appreciated.
Thanks in advance
Damien Pacaud
_______________________________________________
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.