Learning iCloud Data Management: A Hands-On Guide to Structuring Data for iOS and OS X (Fahad Batla's Library) by Jesse Feiler

Learning iCloud Data Management: A Hands-On Guide to Structuring Data for iOS and OS X (Fahad Batla's Library) by Jesse Feiler

Author:Jesse Feiler
Language: eng
Format: epub
Publisher: Addison-Wesley Professional
Published: 2014-10-26T16:00:00+00:00


Designing the Shared App Folder Structure

The challenge for a developer is to create an app structure that allows as much common code as possible but also provides easy implementation of device-specific code. That is the strategy used here. As you have seen, there are two separate projects in the workspace—one for iOS and one for OS X. On disk, each project’s files are in a separate Finder folder. A Shared folder contains the files that are shared: these files are added to both of the projects in a Shared group for each of the projects. Although groups in Xcode use folders as icons, remember that they are not Finder folders. As long as you keep in mind that the shared files exist in a single place on disk (the Shared folder) while they appear in two places in the workspace (the Shared groups in both projects), all will be well. Because these are shared files, editing them from either project edits them in the other.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.