And here is the blog post with some background information on the app.

https://smork.info/blog/posts/spoons-v1-0-released/

#ios #swift #swiftui #swiftdata #swiftcharts

Spoons v1.0 released

Stuff about iOS development, Linux and more

Benjamin’s Blog
In the final part of my Rich Notes App series, we’re adding categories, sorting, and filtering with SwiftData plus a few finishing touches to make it shine.
Watch here: https://youtu.be/UUvgm9-yltE
#SwiftUI #SwiftData #SwiftDevelopment @AttributedString

Apple News remembers where you were, in each tab Now our app does too.

Kill the app. Relaunch. You're exactly where you left off.

Native. No third-party dependencies.

#SwiftUI #iOS #iOSDev #SwiftData #Swift #AppleDeveloper #iOSProgramming #iOS26 #Apple #AppleNews

Is there a way to use SwiftData in a view model, with automatic syncing of changes to the saved data, so I don't have to write shit like this because I have data in the model, but must have a `@Query` in the view to get the stored data?

#swiftui #swift #swiftdata

Just published a full walkthrough on building a #SwiftData backed notes app using our rich text editor from part one. We cover models, CRUD, navigation, previews, and how #AattributedString is stored as JSON in SQLite. Give it a watch. youtu.be/SL8yxBGuTuo

RichText Notes App - Attribute...
RichText Notes App - AttributedStrings and SwiftData Part 1

YouTube
Just published a full walkthrough on building a #SwiftData backed notes app using our rich text editor from part one. We cover models, CRUD, navigation, previews, and how #AattributedString is stored as JSON in SQLite. Give it a watch. https://youtu.be/SL8yxBGuTuo

I have finally managed to introduce persistence (via SwiftData) to Librarius.

I started by making my data models structs – as Apple recommended – only to find out SwiftData needs classes.

It made sense, so I switched to classes, it was hell on earth. I then, thanks to the advice of a friend, had both classes and struct representations (and class models could be instantiated from structs).

This made life easier, but is it a general pattern?
#Swift #swiftUI #SwiftData
http://github.com/stoiandan/Librarius

GitHub - stoiandan/Librarius: Librarius is a macOS, Swift application that allows to to manage your books via collections and tags.

Librarius is a macOS, Swift application that allows to to manage your books via collections and tags. - stoiandan/Librarius

GitHub

FB21159411 #CloudKit causes excessive view updates with #SwiftData Queries

Things are pretty bad for me to file feedback.

App views are updated far too often regardless if data changes. (at least on MacOS)

For simple text views you are unlikely to notice. With more complex views such as a map with the markers dancing around with each update it is a deal breaker.

I am wondering if this is causing some sketchy app behavior in Tahoe?

or I'm holding it wrong…

#SwiftUI #Swift

Initial implementation of indexing AppEntities backed by #SwiftData in spotlight - always nice to see an old library making it simpler (FetchDescriptorObserver). https://gist.github.com/juanarzola/131c81f2cdb438dc8114bb003b87eff2

Should be ok for just a few folders. Might need to add paging to the library to make it usable for more copious entities.

IndexInSpotlight.swift

GitHub Gist: instantly share code, notes, and snippets.

Gist

It’s kinda fun that you can go from a local app to a multi-platform client/server app using #SwiftUI and #SwiftData with very few changes to your data model and with no changes to the APIs you call

#SwiftLang #BuildInPublic #Technology #Apple #CloudKit #Apps