Written by Paul Hudson @twostraws
Description: Build a crowd-sourced song recognition app using Apple's free platform as a service: CloudKit.
Reading from iCloud with CloudKit: CKQueryOperation and NSPredicate
Working with CloudKit records: CKRecord.Reference, fetch(withRecordID:), and save()
Delivering notifications with CloudKit push messages: CKQuerySubscription
I put together answers for over 600 of the most frequently asked questions I received from readers into one place: the Swift 5 Knowledge Base. It answers basic and advanced questions, and provides lots of free code you can re-use however you please. If you hit problems, try searching there first.
If you're still having problems, you can post to the Hacking with Swift subreddit where you can expect an answer fairly quickly, or you can find me on Twitter where I'll do my best to help.
The project files for Hacking with Swift are all available on GitHub, where you can view them, fork them, or download them: click here for the GitHub repo.
SPONSORED Let’s face it, SwiftUI previews are limited, slow, and painful. Judo takes a different approach to building visually—think Interface Builder for SwiftUI. Build your interface in a completely visual canvas, then drag and drop into your Xcode project and wire up button clicks to custom code. Download the Mac App and start your free trial today!
Sponsor Hacking with Swift and reach the world's largest Swift community!
Link copied to your pasteboard.