Syncing SwiftData with CloudKit - SwiftData SwiftUI Tutorial 5/5

Поделиться
HTML-код
  • Опубликовано: 5 окт 2024

Комментарии • 17

  • @javierdejorgesanchez-garni1158
    @javierdejorgesanchez-garni1158 7 месяцев назад +2

    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.

  • @sumerjacob850
    @sumerjacob850 3 дня назад

    Hi Paul, great tut. Is it possible to switch from Firebase to CloudKit for my app. thx

  • @kbusse
    @kbusse 10 месяцев назад +3

    Any specific reason why you haven’t instantianted jobs with an empty array?

    • @raytake899
      @raytake899 9 месяцев назад

      I hold the same question

    • @RobertHolzapfel
      @RobertHolzapfel Месяц назад

      @@raytake899 because ... as he explained ... @Relationsships types must be optional!

  • @chezchezchezchez
    @chezchezchezchez 20 дней назад

    Anyone get this working perfectly from this tutorial?

  • @kiransankarpati
    @kiransankarpati Месяц назад

    Does this work if we deploy this app through ad hoc mode Sir, if in ad hoc device iCloud is logged in ?

  • @joyjain3111
    @joyjain3111 8 месяцев назад +1

    great🤩

  • @allenwixted1992
    @allenwixted1992 10 месяцев назад

    Any tips for previews crashing after iCloud integration?

  • @anotherguycalledsmith
    @anotherguycalledsmith 10 месяцев назад

    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 7 месяцев назад +1

      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 7 месяцев назад +1

      @@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 10 месяцев назад +3

    Migrations are super important for a real app. Can we get a tutorial on that?

    • @Mokhet
      @Mokhet 9 месяцев назад

      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.