iOS 11
2017/06/27 GEEK GARAGE iOS #geek_garage_ios


(@ktanaka117)
• : (@ktanaka117)
• :
• : iOS
• : AKIBA.swift 



Developers.IO

http://dev.classmethod.jp/author/tanaka-kenji/
• Building Great Document-based Apps in iOS 11 

• FileProvider, FileProviderUI (UIDocumentBrowserViewController) 

• UIDocumentBrowserViewController 

UIDocumentBrowserViewController

DEMO (beta-2 )
• AppExtensions, AppGroups, etc…
•
• 

UI 

• FileProvider(UI) 

• UI
•
• Extension 

• Dropbox SDK ⚡
• , , ,
• A 

B 

( ( Photos ))
• A B
App 

DEMO
Info.plist
• UISupportsDocumentBrowser
• Document Types
• Exported UTIs
• Imported UTIs
UISupportsDocumentBrowser
• in Info.plist
• Documents 

Key
Document Types:
• in Target > Info > Document Types (Info.plist)
• Name:
• Types: UTI(Uniform Type Identifiers)
• System-Declared Uniform Type Identifiers

https://developer.apple.com/library/content/documentation/Miscellaneous/
Reference/UTIRef/Articles/System-DeclaredUniformTypeIdentifiers.html
…
• UTI
Document Types:
• Additional document type properties
• CFBundleTypeRole:



Editor, Viewer, Shell, None
• LSHandlerRank:





Owner, Alternate, None, Default
Exported UTIs: export UTI
• in Target > Info > Exported UTIs (Info.plist)
• export
• Cocoa Keys: 

https://developer.apple.com/library/content/documentation/General/Reference/
InfoPlistKeyReference/Articles/CocoaKeys.html#//apple_ref/doc/uid/TP40009251-SW9
Imported UTIs: import UTI
• in Target > Info > Imported UTIs (Info.plist)
• import
• Cocoa Keys: 

https://developer.apple.com/library/content/documentation/General/Reference/
InfoPlistKeyReference/Articles/CocoaKeys.html#//apple_ref/doc/uid/TP40009251-SW9
• Info.plist
• iOS 11 beta
• 

• Building Great Document-based Apps in iOS 11

WWDC 2017 | Session 229
• File Provider Enhancements

WWDC 2017 | Session 243
• File Provider Enhancements

WWDC 2015 | Session 234
• iOS SDK « TORQUES LABS

http://labs.torques.jp/2012/02/03/2487/
• iOS - Qiita

http://qiita.com/sandinist/items/d141fa5a4f2fbff1e4ba
Thank you!

iOS 11からのアプリ間ファイル共有