How to fix “Field ‘recordName’ is not marked queryable” in CloudKit

The issue While writing an iOS app in Swift using CloudKit and CoreData with NSPersistentCloudKitContainer, I ran into the issue “Field ‘recordName’ is not marked queryable” and couldn’t see an obvious solution. Searching online didn’t give many helpful results either. This error message would show up in the CloudKit Dashboard as well as in theContinue reading “How to fix “Field ‘recordName’ is not marked queryable” in CloudKit”

Preloading new data in iOS app updates in Swift

For many apps it is useful to preload data, either to provide examples for the user to reference, or as a starting place for them to work from. This article will not go over specifically how to load data, but rather how to add new data with an app update. For example, an app mightContinue reading “Preloading new data in iOS app updates in Swift”