• 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
Re: iOS Document Interaction Technology
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iOS Document Interaction Technology


  • Subject: Re: iOS Document Interaction Technology
  • From: koko <email@hidden>
  • Date: Fri, 15 Feb 2013 14:28:09 -0700

This was an interesting problem, well to me anyway.

I copied CFBundleDocumentTypes and UTExportedTypeDeclarations from an OSX project to an iOS project.

The OSX app is recognized as the app to open files of types specified in these keys so I assumed the key values were constructed properly.

Well, the UTExportedTypeDeclarations was malformed and it is the key that iOS apparently looks to for registering documents.

Which leads me to believe that OSX does not use this key but uses CFBundleDocumentTypes OR OSX overlooks minimal malformations and interprets UTExportedTypeDeclarations regardless.

So, which is it … if anyone can answer.

BTW the UTExportedTypeDeclarations malformation was that the array of dictionaries was in an array.  Removing the outer array tags made it all good.

-koko

On Feb 14, 2013, at 12:33 PM, David E Blanton <email@hidden> wrote:

>
> On Feb 14, 2013, at 12:12 PM, Damian Carrillo <email@hidden> wrote:
>
>> You may be missing UTExportedTypeDeclarations.
>
> I have both CFBundleDocumentTypes and UTExportedTypeDeclarations in my info.plist.
>
> UTExportedTypeDeclarations has a UTTypeConformsTo key for each item in the LSItemContentTypes array.
>
>
> -koko

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden


References: 
 >iOS Document Interaction Technology (From: koko <email@hidden>)
 >Re: iOS Document Interaction Technology (From: Jerry Krinock <email@hidden>)
 >Re: iOS Document Interaction Technology (From: koko <email@hidden>)
 >Re: iOS Document Interaction Technology (From: Damian Carrillo <email@hidden>)

  • Prev by Date: Re: Custom control with 4 vertical sliders
  • Next by Date: OS X Collection Views videos?
  • Previous by thread: Re: iOS Document Interaction Technology
  • Next by thread: faster deep copies?
  • Index(es):
    • Date
    • Thread