项目作者: artemnovichkov

项目描述 :
Inspect Documents folder via Files.app
高级语言: Swift
项目地址: git://github.com/artemnovichkov/FileSharingExample.git
创建时间: 2018-04-28T04:30:48Z
项目社区:https://github.com/artemnovichkov/FileSharingExample

开源协议:MIT License

下载


File Sharing Example

Xcode 9.3
Swift 4.1

Example project for Ole’s tweet.



Information

The main goal of the tweet and this example is to simplify exploring Documents folder. Content of this folder can be available via Files.app if the app supports File Sharing. To enable this feature you should add these flags to Info.plist:

  1. LSSupportsOpeningDocumentsInPlace=YES
  2. UIFileSharingEnabled=YES

I implemented a Build Phase script for configuring these flags. The script adds it for Debug configuration and removes for Release configuration. That’s it! The script is written in Swift by the way 😉.

Author

Artem Novichkov, novichkoff93@gmail.com

Get help on Codementor

License

File Sharing Example is available under the MIT license. See the LICENSE file for more info.