If your document type is a package, it does not conform to public.data but
to com.apple.package.
-- 
Julien

On Sat, Nov 1, 2008 at 5:12 PM, John Pannell <[EMAIL PROTECTED]>wrote:

> Hi all-
>
> I'm working on a document-based application, but having trouble getting the
> Finder to match my document to my application.  On disk, the document is a
> package.  I am successfully writing the directory and the contents to disk,
> and the directory is written with the proper extension (.pflow).
>
> On the un-successful side, the directory appears as a regular folder in the
> finder.  Here are the relevant entries to my app's Info.plist... do you see
> anything amiss?
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE plist PUBLIC "-//Apple//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>pflow</string>
>                        </array>
>                        <key>CFBundleTypeIconFile</key>
>                        <string></string>
>                        <key>CFBundleTypeName</key>
>                        <string>ProtoFlow Document</string>
>                        <key>CFBundleTypeRole</key>
>                        <string>Editor</string>
>                        <key>LSItemContentTypes</key>
>                        <array>
>                                <string>com.positivespinmedia.pflow</string>
>                        </array>
>                        <key>NSDocumentClass</key>
>                        <string>PFDocument</string>
>                </dict>
>        </array>
>        <key>CFBundleExecutable</key>
>        <string>ProtoFlow</string>
>        <key>CFBundleIconFile</key>
>        <string></string>
>        <key>CFBundleIdentifier</key>
>        <string>com.positivespinmedia.ProtoFlow</string>
>        <key>CFBundleInfoDictionaryVersion</key>
>        <string>6.0</string>
>        <key>CFBundlePackageType</key>
>        <string>APPL</string>
>        <key>CFBundleShortVersionString</key>
>        <string>2.0</string>
>        <key>CFBundleVersion</key>
>        <string>48.1</string>
>        <key>NSMainNibFile</key>
>        <string>MainMenu</string>
>        <key>NSPrincipalClass</key>
>        <string>NSApplication</string>
>        <key>UTExportedTypeDeclarations</key>
>        <array>
>                <dict>
>                        <key>UTTypeDescription</key>
>                        <string>ProtoFlow Document</string>
>                        <key>UTTypeConformsTo</key>
>                        <array>
>                                <string>public.data</string>
>                        </array>
>                        <key>UTTypeIconFile</key>
>                        <string></string>
>                        <key>UTTypeIdentifier</key>
>                        <string>com.positivespinmedia.pflow</string>
>                        <key>UTTypeTagSpecification</key>
>                        <dict>
>                                <key>public.filename-extension</key>
>                                <array>
>                                        <string>pflow</string>
>                                </array>
>                        </dict>
>                </dict>
>        </array>
> </dict>
> </plist>
>
> Any help you can give is much appreciated!
>
> John
>
> Positive Spin Media
> http://www.positivespinmedia.com
>
> _______________________________________________
>
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/jjalon%40gmail.com
>
> This email sent to [EMAIL PROTECTED]
>
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to