Yalantis / Cloudkit Demo.swift
Licence: mit
Stars: ✭ 244
Programming Languages
swift
15916 projects
Projects that are alternatives of or similar to Cloudkit Demo.swift
Ricloud
Python client for Reincubate's ricloud API. Yes, it works with iOS 14 & iPhone 12 backups!
Stars: ✭ 71 (-70.9%)
Mutual labels: cloudkit, icloud
Cirrus
☁️ Simple CloudKit sync for Codable Swift models
Stars: ✭ 65 (-73.36%)
Mutual labels: cloudkit, icloud
Cloudkitgdpr
Framework for allowing users to manage data stored in iCloud
Stars: ✭ 126 (-48.36%)
Mutual labels: cloudkit, icloud
Knative Tutorial
https://dn.dev/master A practical guide to get started with Knative. Knative concepts are explained simple and easy way with lots of demos and exercises.
Stars: ✭ 219 (-10.25%)
Mutual labels: demo
Open model zoo
Pre-trained Deep Learning models and demos (high quality and extremely fast)
Stars: ✭ 2,925 (+1098.77%)
Mutual labels: demo
Helloworld Msa
Main repository with documentation and support files
Stars: ✭ 218 (-10.66%)
Mutual labels: demo
Cartoonize
A demo webapp to convert images and videos into cartoon!
Stars: ✭ 215 (-11.89%)
Mutual labels: demo
Baselibrary
🔥Android开发 常用基础公共库(mvp/mvvm/retrofit/rxjava/socket/ble/多语言) 直接下载或依赖即可使用
Stars: ✭ 243 (-0.41%)
Mutual labels: demo
Chain
链喵 CMDB 本项目已停止开发!因长时间未对代码进行维护,可能会造成项目在不同环境上无法部署、运行BUG等问题,请知晓!项目仅供参考!
Stars: ✭ 240 (-1.64%)
Mutual labels: demo
Caffe2 Ios
Caffe2 on iOS Real-time Demo. Test with Your Own Model and Photos.
Stars: ✭ 221 (-9.43%)
Mutual labels: demo
Smoothscrollanimations
Demo of a tutorial on how to add smooth page scrolling with an inner image animation
Stars: ✭ 238 (-2.46%)
Mutual labels: demo
Easy Admin Demo
A demo application to showcase EasyAdmin features
Stars: ✭ 219 (-10.25%)
Mutual labels: demo
Magento React Native
React Native mobile app for Magento 2.x
Stars: ✭ 229 (-6.15%)
Mutual labels: demo
Tinysynth
A drums looper made with React and the WebAudio API
Stars: ✭ 238 (-2.46%)
Mutual labels: demo
Terrain Builder
🏔 Procedural terrain using Three.js and perlin noise, Now Accelerated by your GPU!
Stars: ✭ 228 (-6.56%)
Mutual labels: demo
CloudKit, Apple’s remote data storage service, provides a possibility to store app data using users’ iCloud accounts as a back-end storage service.
Here is the same demo on Objective-C.
Requirements
- iOS 8.0+
- XCode 10.2
- Swift 5
How To Get Started
- Set up Cloud/CloudKit at iOS Developer Portal.
- Insert a bundle identifier and choose a corresponding Team.
- Select Capabilities tab in the target editor, and then switch ON the iCloud.
For more detailed information take a look at our article.
Usage
Retrieve existing records
let predicate = NSPredicate(value: true)
let query = CKQuery(recordType: recordType, predicate: predicate)
CKContainer.default().publicCloudDatabase.perform(query, inZoneWith: nil) { records, error in
}
Create a new record
let record = CKRecord(recordType: "RecordType")
record.setValue("Some data", forKey: "key")
CKContainer.default().publicCloudDatabase.save(record) { savedRecord, error in
}
Update the record
let recordId = CKRecord.ID(recordName: "RecordType")
CKContainer.default().publicCloudDatabase.fetch(withRecordID: recordId) { updatedRecord, error in
if error != nil {
return
}
updatedRecord.setObject("Some data", forKey: "key")
CKContainer.default().publicCloudDatabase.save(updatedRecord) { savedRecord, error in
}
}
Remove the record
let recordId = CKRecord.ID(recordName: recordId)
CKContainer.default().publicCloudDatabase.delete(withRecordID: recordId) { deletedRecordId, error in
}
Contacts
Follow Yalantis on Twitter (@Yalantis) and [Facebook] (https://www.facebook.com/Yalantis?ref=ts&fref=ts)
License
The MIT License (MIT)
Copyright © 2017 Yalantis
Permission is hereby granted free of charge to any person obtaining a copy of this software and associated documentation files (the "Software") to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].