Creating Separate Xcode Projects for iOS and OS X

The first step is to create a project and run it. For projects that will run on both iOS and OS X, it is common (but not required) to create a single Xcode project with two targets. For a project such as this first project, though, you will be letting iCloud do its work behind the scenes, so you do not need common code that will run on both operating systems. The code will be comparable, but you do not need to create a single project with two targets. Because this structure is a little simpler than the multitarget structure, these first apps will have two separate Xcode projects: one for iOS and one for OS X. (You’ll see how to build a single project with both an iOS and OS X app in Chapter 11 ...

Get Learning iCloud Data Management: A Hands-On Guide to Structuring Data for iOS and OS X now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.