O'Reilly logo

OS X App Development with CloudKit and Swift by Bruce Wade

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© Bruce Wade 2016

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

8. Adding Local Cache to Improve Performance

Bruce Wade

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

At this point we have an almost fully functional app. I say “almost” because I left you with a few challenges to complete yourself to finish this app. Your challenges include creating the default thumbnail for the park and loading the full-size image when someone double-clicks on the park image. Apple has an example that will show you exactly how to do this using the Collection View. Find the sample code: CocoaSlideCollection: Using NSCollectionView on OS X 10.11.

In this chapter we are going to focus more on performance. Currently, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required