No video

Syncing SwiftData with CloudKit - SwiftData SwiftUI Tutorial 5/5

  Рет қаралды 4,816

Paul Hudson

Paul Hudson

Күн бұрын

Download the completed project here: github.com/twostraws/hackingw...
Other parts in Project 12:
Introduction: www.hackingwithswift.com/book...
1. Editing SwiftData model objects: • Editing SwiftData mode...
2. Filtering @Query using #Predicate: • Filtering @Query using...
3. Dynamically sorting and filtering @Query with SwiftUI: • Dynamically sorting an...
4. Relationships with SwiftData, SwiftUI, and @Query: • Relationships with Swi...
5. Syncing SwiftData with CloudKit: This video
Wrap up and challenges: www.hackingwithswift.com/book...
You can find the full set of videos, along with transcriptions, challenges, tests, and more, in my free 100 Days of SwiftUI course: www.hackingwithswift.com/100/...
Watch the full 100 Days of SwiftUI playlist here: • Understanding the basi...

Пікірлер: 13
@joyjain3111
@joyjain3111 6 ай бұрын
great🤩
@javierdejorgesanchez-garni1158
@javierdejorgesanchez-garni1158 5 ай бұрын
Hi Paul, thanks a lot for your videos. You mentioned in the video about using a real device instead of the simulator, but if you try the app in TestFlight, do you need to deploy the database into Production mode?? thanks in advance.
@allenwixted1992
@allenwixted1992 8 ай бұрын
Any tips for previews crashing after iCloud integration?
@kbusse
@kbusse 8 ай бұрын
Any specific reason why you haven’t instantianted jobs with an empty array?
@raytake899
@raytake899 7 ай бұрын
I hold the same question
@anotherguycalledsmith
@anotherguycalledsmith 8 ай бұрын
Thank you very much ;-) Sorry, stupid question… Could I, as a developer have data stored in iCloud that could be displayed to my users - and alter that content dynamically from time to time? My idea is to have this content securely on Apple servers without offering an own web service… Thanks ;-)
@lorenzopirro2943
@lorenzopirro2943 5 ай бұрын
Hi! If you mean having RESTful web service (with the management of a database) provided by iCloud well no. You need to interface with the Javascript library or CloudKit with iCloud server services.This is possible with other external services.
@anotherguycalledsmith
@anotherguycalledsmith 5 ай бұрын
@@lorenzopirro2943 Ciao Lorenzo, thank you for your answer ;-) I have no idea of any back end stuff whatsoever… My idea was simply to have static content somewhere in Apple's iCloud and to point to this address from within my app, to display images for example. By doing so, my app could be “lean” in the App Store and content would only be loaded from Apple servers when needed. Without the need to establish an own web service that some users of my app might not want to trust - and to avoid any hacking of content from the “outside”. I do not plan to have huge amounts of content there, I just would like to know whether Apple would allow a similar approach like that. Thank you ;-)
@yourgflikesit
@yourgflikesit 8 ай бұрын
Migrations are super important for a real app. Can we get a tutorial on that?
@Mokhet
@Mokhet 7 ай бұрын
Yes please. I cannot figure out how to migrate any of my models once cloudkit is used. Be it a lightweight or complex custom migration, everything migrate correctly but once cloudkit is involved, everything fails miserably with insane errors.
Vim Tips I Wish I Knew Earlier
23:00
Sebastian Daschner
Рет қаралды 48 М.
Пранк пошел не по плану…🥲
00:59
Саша Квашеная
Рет қаралды 7 МЛН
Mom's Unique Approach to Teaching Kids Hygiene #shorts
00:16
Fabiosa Stories
Рет қаралды 38 МЛН
Survive 100 Days In Nuclear Bunker, Win $500,000
32:21
MrBeast
Рет қаралды 107 МЛН
CloudKit - Intro, Pricing, Terms, & Definitions
17:26
Sean Allen
Рет қаралды 22 М.
Editing SwiftData model objects - SwiftData SwiftUI Tutorial 1/5
9:58
Why SwiftUI developers aren't learning UIKit
11:24
codingKo
Рет қаралды 750
8. SwiftData   CloudKit
18:20
Stewart Lynch
Рет қаралды 6 М.
9. SwiftData Storing Images and Bug Fixes
23:15
Stewart Lynch
Рет қаралды 3,7 М.
Setup CloudKit in SwiftUI project and get user info | Advanced Learning #21
33:02
Пранк пошел не по плану…🥲
00:59
Саша Квашеная
Рет қаралды 7 МЛН