twostraws,
@twostraws@mastodon.social avatar

SwiftData by Example is out now, online free for everyone or available for purchase as a download edition! So many questions answered and common problems solved, with more to come as the book grows in the future. Start reading here: https://www.hackingwithswift.com/quick-start/swiftdata

rgordon,
@rgordon@mastodon.social avatar

@twostraws Thank-you, Paul! This looks incredible, and will be very helpful as a resource for myself and my senior CS students this year.

francosolerio,

@twostraws Thank you for your book. It’s really something that was missing. I have a question for you: when you talk about working on a background context, you never mention the ModelActor protocol. Is that because it suffers the same “extra actor synchronization" issue you mention?

ruppert,

@twostraws insta-bought!

rodrigo,
@rodrigo@escobar.social avatar

@twostraws do you know if you can use SwiftData with CloudKit on a CommandLine Tool target? It doesn’t have access to iCloud capability but I was wondering whether there’s a workaround for this?

mikesax,
@mikesax@mas.to avatar

@twostraws There goes the weekend! 😁🙏🏽

twostraws,
@twostraws@mastodon.social avatar

I’ve recorded a video version of the tutorial project, which will land on YouTube later today for folks who prefer watching to reading.

As this is the first edition of the book there’ll be quite a few typos and mistakes – let me know when you spot one and I’ll get it fixed! 🙌

XaiaX,
@XaiaX@mastodon.social avatar

@twostraws you’ve got a “such as they’re to do lists” in the “what is swift data” section.

twostraws,
@twostraws@mastodon.social avatar

@XaiaX Fixed – thank you!

twostraws,
@twostraws@mastodon.social avatar

In the meantime, check out the bottom of the dedication page for a video of me watching the Platforms State of the Union at WWDC23. I was just a bit happy to see SwiftData being announced 😅 https://www.hackingwithswift.com/quick-start/swiftdata/dedication

staypufd,

@twostraws CoreDta was based on Enterprise Objects Framework, which grew from DBKit and some work NeXT team came and saw at PanCanadian Petroleum in 1994 done by a team I worked with from Object Systems Group. A long line of great work inspired by many, many people. Great work to get us to today.

lwdupont,
@lwdupont@mastodon.social avatar

@twostraws That’s awesome!! I think you scared the other attendees! :)

twostraws,
@twostraws@mastodon.social avatar

@lwdupont I don't think they'll have me back next year 😉

twostraws,
@twostraws@mastodon.social avatar

💥 Boom! My 8-part SwiftData starter tutorial is now on YouTube, walking you through the fundamentals of your first SwiftData app with SwiftUI. Models, queries, sorting, filtering, relationships, and more – start here: https://youtu.be/FEKCAzPAtpg

prisco,

@twostraws is the code for this tutorial generally available on github or something similarly accessible? I learn best by playing with code. If not, I’ll just go through the tutorial and build up the codebase, but wanted to check if that’s an option before I spend the time.

twostraws,
@twostraws@mastodon.social avatar
prisco,

@twostraws thank you!

andyzoom01,

@twostraws thanks so much Paul! I’m up early here in Southern California to start watching 📺. I’ve already started modifying my app for SwiftData. Was looking forward to this as help to push me along! One question, does your material cover the situation of checking for and converting a user’s pre-existing @AppStorage local data into SwiftData + CloudKit when they first launch a new iOS 17 SwiftData version of an app? I’ve got both that situation to handle as well as pre-loading some static model data at first launch. Thanks so much for all you do!

nickkohrn,
@nickkohrn@techhub.social avatar

@twostraws I’m excited to dive in! Thanks so much for putting this together!

While I was eagerly skimming the contents, I noticed, what I assume is, a word missing (“write”) in the unit tests title under the Architecture section.

twostraws,
@twostraws@mastodon.social avatar

@nickkohrn Fixed – thank you!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • mdbf
  • GTA5RPClips
  • JUstTest
  • tacticalgear
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • ethstaker
  • anitta
  • provamag3
  • Leos
  • cisconetworking
  • megavids
  • lostlight
  • All magazines