Where Should I Store Data for my App? - SwiftUI Devlog Ep 2

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ก.ค. 2024
  • I discuss Swift Data, Apple's on device persistence framework that uses Swift macros to easily store use data on device and in the cloud with CloudKit. But, does it work as promised? Or is it a bad idea from the start?
    Check out this awesome SwiftData tutorial I mentioned from tundsdev: • SwiftData For Beginner...
    Wanna chat with me live? Watch me code live Tuesdays at 8a PTD and Thursdays at 3p PTD right here on TH-cam, or at / mydevlifemt
    #SwiftUI #AppDevelopment #CodingProject #devlog
    Music by Bensound.com/free-music-for-videos
    License code: DJW6G7CAN8IXRQLN
    Music by Bensound.com
    License code: QPMXGCFCZUVP0M5E
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 1

  • @SFAutor
    @SFAutor 15 วันที่ผ่านมา

    Thank you for your video, it really gave me some enlightenment as a Swift beginner on how to save data and load it back into the app. Since I started with Swift, I am not plagued by all those standard rules for which there are many tutorial videos to watch. I know what types, functions, structs, etc are and how to use them. What I miss are basic tutorials that describe procedures such as how to handle data. There are also countless tutorials for iOS apps, but hardly any useful ones for macOS (I don't want to write a phone app, but an app for the Mac): What does the structure of an app generally look like? How do you realize an app with a menu and different views? How do I transfer data from one view to the next? How do I save data permanently on the Mac or in the iCloud? (I found barely infos on TH-cam about it before I saw your video).
    However, I still find it far too complicated how much (confusing) code steps I have to go through in order to save a few simple strings on my SSD. It's all still far too confusing and I hope that this will become much easier in the future. Anyway, thank you much for sharing your video.