Skip to Content
OS X App Development with CloudKit and Swift
book

OS X App Development with CloudKit and Swift

by Bruce Wade
May 2016
Beginner to intermediate content levelBeginner to intermediate
145 pages
3h 21m
English
Apress
Content preview from OS X App Development with CloudKit and Swift

© Bruce Wade 2016

Bruce Wade, OS X App Development with CloudKit and Swift, 10.1007/978-1-4842-1880-8_6

6. Refining Our Prototype

Bruce Wade

(1)Suite No. 1408, North Vancouver, British Columbia, Canada

In this chapter we will load the test data we created in CloudKit into our app. The app will show the list of parks, and when a user clicks on a park the app will display the park information inside the details plane.

Creating the Park Model

With CloudKit being only a transport layer, we need a way to store and work with our information on the OS X client app. We need to create a simple Swift class Park that will store the information for an individual park. We will use the Swift class in a Swift list to store a list of parks. Create a new Swift file, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

iOS 11 Programming with SWIFT

iOS 11 Programming with SWIFT

Michael J Huber Jr

Publisher Resources

ISBN: 9781484218808Purchase book