Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 5 Link Document Type

Tags:

xcode

Am following tutorial at

http://www.raywenderlich.com/1980/email-tutorial-for-ios-how-to-import-and-export-app-data-via-email-in-your-ios-app

To link a document type to my application so that my application is responsible for opening up of that document.

XCode 5 works very different... Under your Target, Info tab is a "Document Types" line... am not sure how to use this, is there a sample for me?

Thanks

like image 293
Lennie Avatar asked Sep 30 '13 12:09

Lennie


1 Answers

I'm sure you've either figured this out or moved on, but a little tip for most of these tutorials: you can often download the completed code from the website. I did so, and loaded it up in Xcode 5.0, and it works fine. Here's a screenshot of the plist entries (that's under Resources/ScaryBugs-Info.plist) for Document and Export:

Document plist entries

Another way to change the Document types in Xcode is via the Project Info (select the project in the Navigator, then the target in the projects and targets list, then the info tab). Here's a screenshot of what that stuff looked like for me:

Document project info entries

like image 163
RishiG Avatar answered Nov 02 '22 19:11

RishiG