June 2016
Beginner to intermediate
240 pages
6h 17m
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.
| | - (BOOL)application:(UIApplication *)application |
| | openURL:(NSURL *)url |
| | sourceApplication:(NSString *)sourceApplication |
| | annotation:(id)annotation |
| | { |
| | if ([[self dataController] isPersistenceInitialized]) { |
| | [self consumeIncomingFileURL:url]; |
| | } else { |
| | [self setFileToOpenURL:url]; |
| | } ... |