Rebeloper - Rebel Developer I would like to see an example on how you would sync data from Core Cata to iCloud using Apple's new NSPersistentCloudKitContainer
I really enjoyed this first part! I have wanted to build an app with CloudKit for a long time so this video is very interesting for me. I will definitely watch all the videos as soon as they come out.
Hi Emilio, glad you are picking up CloudKit. The second part is out: ua-cam.com/video/bVSbRnHcXrA/v-deo.html what type of app are you building with CloudKit?
I see. Your app does not need external storage. Coe data is quite nice and really easy to use (compared to a few years ago) Can you elaborate on the authentication part?
Hey Alex, I've been trying to figure out how to put something to the right of the .navigationBarTittle, kind of like on the App Store (Games or Apps tab) they have the account icon on the right. Tried ignoreSafeArea and playing with offset but that doesn't work, any idea on a way of doing it?
It would be great to learn how to manage core data across multiple devices and for different users. For example, a user registers on the app and I store his Auth data on Firebase. Let's say that user buys a new phone, would CloudKit suffice to persist the user's data and fetch it back as is once the user reinstalls the app on his new device?
This is a lot to cover in one comment. Let's meet on a mentoring session where i can go through it: rebeloper.com/mentoring BTW if you liked this video you will love *Swift Extensions* ua-cam.com/video/Gi47Oi8gKJE/v-deo.html
how do you save files to the CloudKit not just database records? I am making a checkbook app so I want a database with transactions and I want to be able to save receipts? do I have to save the files as a record?
You want to use CKAssets: www.hackingwithswift.com/read/33/4/writing-to-icloud-with-cloudkit-ckrecord-and-ckasset Let me know what you want to learn next: forms.gle/5GoVFuA79QRanbHXA
Quick question. How did you change the signature of the save(record: CKRecord, competionHandler: (CKRecord?, Error?) -> Void) to save(record: CKRecord) { (CKRecord?, Error) in }? It seemed like you did it in an instant. Just wondering how. Thanks Alex.
Hi James! Yes, it was in an instant :) I just pressed on the Return key on my keyboard to let Xcode autofill the completion handler witch in turn also has two fields that I can fill: (CKRecord?, Error). Hitting the Tab key iterates trough them. Are you using iCloud + SwiftUI in a production app?
The data will not be saved and they will be notified to upgrade. 😊 BTW take a look at my video on UIColors in Swift: ua-cam.com/video/5BjpZc5TScs/v-deo.html
I need your help. I'm following your video and I have the following error: Thread 1: Fatal error: "No ObservableObject of type ListElements found. A View.environmentObject (_ :) for ListElements may be missing as an ancestor of this view."Can you tell me where the error is? Thank you
You haven't added the environment object to this view. BTW if you like this video I'm sure you will love my latest tutorial about Floating Buttons in SwiftUI: ua-cam.com/video/E3ks0l0Qbkc/v-deo.html
Hello Alex glad you share it, thanks. I implement the code on my project, but I got freak error below. I created new project and re implement the code and its working. I used the same container for these two projects. Can you help me please. FYI, the code is exactly same. " "
hahaha bud awesome video... it was super helpful but did you say "meat and balls"? In the US we say "Meat and potatoes". That has a little different of a meaning here.
You are correct. I have realised it after I recorded the video LOL. BTW do you like the Previews in SwiftUI? Find out everything you have to know about Previews here: ua-cam.com/video/rxfter_wMXI/v-deo.html
In this CloudKit Tutorial you will learn how to save data into iCloud with SwiftUI!
Amazing video 😊
Thank you 😁 BTW Check out RevenueCat - The BEST Service for In-App Purchases 👉 ua-cam.com/video/WechH9jx41w/v-deo.html
This is such a helpful tutorial. Appreciate it!
You're very welcome! BTW do you like CoreData? Check out Core Data in SwiftUI: ua-cam.com/video/_GJlFk-Hhz8/v-deo.html
Thank you!!! Great content as usual.
Glad you enjoyed it! BTW if you liked this video you will love *Swift Extensions* ua-cam.com/video/Gi47Oi8gKJE/v-deo.html
Awesome video! Thank you!
Great little tutorial. Thank you
Glad it was helpful! BTW take a look at my lates video on *CORE DATA ATTRIBUTES IN SWIFT [Tips to be Fast]* : ua-cam.com/video/c2Qtn5ehHMQ/v-deo.html
Hey Alex! That video was very helpful as usual! Thanks for you efforts making things easy 👍🏽
Glad you liked it! Wanna learn more? rebeloper.com/mentoring
Hi Alex. How about doing a video on synching Core Data with CloudKit? Would love to see that.
Hi Stewart, thanks for the suggestion. Have added to the list of ideas. Could you elaborate more about the structure you want to achieve?
Rebeloper - Rebel Developer I would like to see an example on how you would sync data from Core Cata to iCloud using Apple's new NSPersistentCloudKitContainer
@@StewartLynch Man, that's tough... But it must be a third - final part of this tutorial 💪🏻💪🏻💪🏻
Dmitry Novosyolov I actually just got it to work myself, so no rush now.
Could you share some code? I would love to see your implementation and maybe create a video around it 😀
Thanks
Welcome. BTW what do you think of my latest video on Flexible Header in SwiftUI: ua-cam.com/video/TaLA3ZBk6Zo/v-deo.html
I really enjoyed this first part! I have wanted to build an app with CloudKit for a long time so this video is very interesting for me. I will definitely watch all the videos as soon as they come out.
Hi Emilio, glad you are picking up CloudKit. The second part is out: ua-cam.com/video/bVSbRnHcXrA/v-deo.html what type of app are you building with CloudKit?
Thanks Alex, always great content mate 👍👍👍
Welcome. Glad you like it. Any suggestions for future videos?
Nice work. Thanks Alex!
You are welcome! Are you using CloudKit + SwiftUI in production?
Rebeloper - Rebel Developer
I've been using swiftui since he got out, but I haven t used cloudkit yet.
😁 isn't SwiftUI a she? 😁 Anyway, if not CloudKit, are you using Firebase?
Rebeloper - Rebel Developer. 😉 I prefer Core data instead.
I see. Your app does not need external storage. Coe data is quite nice and really easy to use (compared to a few years ago) Can you elaborate on the authentication part?
Hey Alex, I've been trying to figure out how to put something to the right of the .navigationBarTittle, kind of like on the App Store (Games or Apps tab) they have the account icon on the right. Tried ignoreSafeArea and playing with offset but that doesn't work, any idea on a way of doing it?
I believe this could help: stackoverflow.com/a/57738518 Let me know
It would be great to learn how to manage core data across multiple devices and for different users. For example, a user registers on the app and I store his Auth data on Firebase. Let's say that user buys a new phone, would CloudKit suffice to persist the user's data and fetch it back as is once the user reinstalls the app on his new device?
This is a lot to cover in one comment. Let's meet on a mentoring session where i can go through it: rebeloper.com/mentoring
BTW if you liked this video you will love *Swift Extensions* ua-cam.com/video/Gi47Oi8gKJE/v-deo.html
Could you explain why we need UIKit as well as SwiftUI? Couldn't we have used just SwiftUI? Thanks :)
Some parts are not available in SwiftUI. BTW do you like CoreData? Check out Core Data in SwiftUI: ua-cam.com/video/_GJlFk-Hhz8/v-deo.html
how do you save files to the CloudKit not just database records? I am making a checkbook app so I want a database with transactions and I want to be able to save receipts? do I have to save the files as a record?
You want to use CKAssets: www.hackingwithswift.com/read/33/4/writing-to-icloud-with-cloudkit-ckrecord-and-ckasset
Let me know what you want to learn next: forms.gle/5GoVFuA79QRanbHXA
Quick question. How did you change the signature of the save(record: CKRecord, competionHandler: (CKRecord?, Error?) -> Void) to save(record: CKRecord) { (CKRecord?, Error) in }? It seemed like you did it in an instant. Just wondering how. Thanks Alex.
Hi James! Yes, it was in an instant :) I just pressed on the Return key on my keyboard to let Xcode autofill the completion handler witch in turn also has two fields that I can fill: (CKRecord?, Error). Hitting the Tab key iterates trough them. Are you using iCloud + SwiftUI in a production app?
0:35 I beg your pardon?
LOL :)
When using cloudkit any private data is saved in the users iCloud account. What happens if their iCloud account is full?
The data will not be saved and they will be notified to upgrade. 😊 BTW take a look at my video on UIColors in Swift: ua-cam.com/video/5BjpZc5TScs/v-deo.html
I need your help. I'm following your video and I have the following error: Thread 1: Fatal error: "No ObservableObject of type ListElements found. A View.environmentObject (_ :) for ListElements may be missing as an ancestor of this view."Can you tell me where the error is? Thank you
You haven't added the environment object to this view. BTW if you like this video I'm sure you will love my latest tutorial about Floating Buttons in SwiftUI: ua-cam.com/video/E3ks0l0Qbkc/v-deo.html
Hello Alex glad you share it, thanks.
I implement the code on my project, but I got freak error below. I created new project and re implement the code and its working. I used the same container for these two projects. Can you help me please. FYI, the code is exactly same.
"
"
This is hard to debug, but i can help. Book a session here: rebeloper.com/mentoring
How to access iCloud Drive folder
You will have to use Private Database for that. I can show you how on a 1:1 mentoring: rebeloper.com/mentoring
I have been trying to search iCloud in Capabilities, but there isn't. How should I solve this case? Many thanks.
Is Xcode the lates version?
Rebeloper - Rebel Developer yes! Do I have to enroll the developer thing on Apple in order to use it? Thankssss
I don't know but it could be. I have always had a dev program :)
Also let me know what you want to learn next: forms.gle/5GoVFuA79QRanbHXA
Alex, how many users can use iCloud for free? I mean, when I have to pay for them?
You can find pricing here: developer.apple.com/icloud/cloudkit/
BTW take a look at my lates video: ua-cam.com/video/MNMWMyQcs_I/v-deo.html
hahaha bud awesome video... it was super helpful but did you say "meat and balls"? In the US we say "Meat and potatoes". That has a little different of a meaning here.
You are correct. I have realised it after I recorded the video LOL. BTW do you like the Previews in SwiftUI? Find out everything you have to know about Previews here: ua-cam.com/video/rxfter_wMXI/v-deo.html
#rebeloper