• 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
Problem with CFBundleDocumentTypes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with CFBundleDocumentTypes


  • Subject: Problem with CFBundleDocumentTypes
  • From: "Ryan D. Moniz" <email@hidden>
  • Date: Sat, 12 Mar 2005 05:29:44 -0700

Hello list,

I'm having a weird problem with CFBundleDocumentTypes. I'm creating an editor for man pages and have the following document types:
.1, .2, .3, .4,...., .9


however, for some reason any file ending with .<number> is misbehaving. For example, a dmg file I have complains that the file is in use by the finder after is successfully attaches. When I removed these options from my program the dmg file worked fine.

can anyone please tell me what I'm doing wrong?

thanks.


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>1</string>
</array>
<key>CFBundleTypeIconFile</key>
<string></string>
<key>CFBundleTypeName</key>
<string>man1 General Commands</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>????</string>
</array>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSTypeIsPackage</key>
<true/>
<key>NSDocumentClass</key>
<string>MyDocument</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>2</string>
</array>
<key>CFBundleTypeName</key>
<string>man2 System Calls &amp; Error Numbers</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSTypeIsPackage</key>
<true/>
<key>NSDocumentClass</key>
<string>MyDocument</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>3</string>
</array>
<key>CFBundleTypeName</key>
<string>man3 Libraries</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSTypeIsPackage</key>
<true/>
<key>NSDocumentClass</key>
<string>MyDocument</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>4</string>
</array>
<key>CFBundleTypeName</key>
<string>man4 Devices &amp; Device Drivers</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSTypeIsPackage</key>
<true/>
<key>NSDocumentClass</key>
<string>MyDocument</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>5</string>
</array>
<key>CFBundleTypeName</key>
<string>man5 File Formats</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSTypeIsPackage</key>
<true/>
<key>NSDocumentClass</key>
<string>MyDocument</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>6</string>
</array>
<key>CFBundleTypeName</key>
<string>man6 Games</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSTypeIsPackage</key>
<true/>
<key>NSDocumentClass</key>
<string>MyDocument</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>7</string>
</array>
<key>CFBundleTypeName</key>
<string>man7 Miscellaneous Information Pages</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSTypeIsPackage</key>
<true/>
<key>NSDocumentClass</key>
<string>MyDocument</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>8</string>
</array>
<key>CFBundleTypeName</key>
<string>man8 System Maintenance &amp; Operation Commands</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSTypeIsPackage</key>
<true/>
<key>NSDocumentClass</key>
<string>MyDocument</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>9</string>
</array>
<key>CFBundleTypeName</key>
<string>man9 System Kernel Interfaces</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSTypeIsPackage</key>
<true/>
<key>NSDocumentClass</key>
<string>MyDocument</string>
</dict>
</array>
<key>CFBundleExecutable</key>
<string>Manpage Creator</string>
<key>CFBundleIconFile</key>
<string>manpage-creator-icon</string>
<key>CFBundleIdentifier</key>
<string>com.ryanmoniz.manpage_creator</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
</dict>
</plist>


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: newbie - multiply error
  • Next by Date: Re: newbie - multiply error
  • Previous by thread: Re: newbie - multiply error
  • Next by thread: Add menu items to Dock
  • Index(es):
    • Date
    • Thread