June 2016
Intermediate to advanced
214 pages
5h 40m
English
The reverse of exporting recipes is to be able to import them. The experience we’re looking for is as follows:
To accomplish this workflow, we need to step into our UIApplicationDelegate and do a few updates.
| | func application(_ application: UIApplication, open url: URL, |
| | sourceApplication: String?, annotation: Any) -> Bool { |
| | guard let controller = dataController else { |
| | fileToOpenURL = url |
| | return true |
| | } |
| | if controller.persistenceInitialized { |
| | consumeIncomingFileURL(url) ... |
Read now
Unlock full access