Alex Does Things Poorly

Alex does a variety of things poorly - swift, data science, datavis, ML, drawing, AR, unity, etc, etc.

27 July 2021

Bookworm & Core Data

by alex

Well, a bit more 100 Days of SwiftUI done. Today was a real grind at work, super secret handshake project underway and I’m wiped out just from all the phone calls. Time to listen to some Billie Eilish and do some creative coding.

Nothing much new today with SwiftUI lessons, I’ve done this kind of persistence work in a dozen apps using Core Data and Realm over the years. Still no word on what the id field in the Book entity was supposed to be used for, or where it was supposed to be initialized. It was nice to see how Core Data plugs into SwiftUI, and how simple it was to make an in-memory moc to handle previews. The persistence parts of my iNat SwiftUI prototype are starting to take shape, at least in my head.

Here’s another generative art sketch ported over to Swift from Generative Design. I’m really enjoying this book, highly recommend it.

Rad grid

tags: swift - swiftui - generative-art