10 Followers
237 Following
1.4K Posts
Moved to a single-person instance. Find me there - @dachary
iOS RPG Playthrough Trackerhttps://shatteredring.com
Homepagehttps://dacharycarey.com
Side Projects + Travel Bloghttps://corporaterunaways.com

Realm’s #SwiftUI integration gives you access to a "quick write" syntax - use the $ operator to implicitly open a write transaction and edit a persisted object's properties.

If you get a message similar to "Cannot assign through dynamic lookup property: '$variable’ is immutable” - you need to access the wrappedValue of the thing.

In this code, I've got a `pullRequest` @ObservedRealmObject, and I'm updating the `hasUpdates` bool to false when a view appears. Works like a charm!

Tell me you didn't have a #TechnicalWriter involved without telling me you didn't have a technical writer involved…

`@Model` annotation denotes this class is a data model.

`ModelConfiguration` is a configuration for - the `ModelContainer`. NOT the `@Model`.

The Model doesn't need a configuration. The `@Model` annotation does some heavy lifting to automagically hide away any "configuring" involved directly in the Model.

1/5

What a difference a day makes!

Fixing those #SwiftUI navigation bugs yesterday freed me up to work on a bunch of small UI improvements and a couple of bigger View invalidation issues I was working through.

Things are running much more smoothly and look so much better!

Time to add a bunch of tests and then maybe I can expand my private alpha! It *looks* decent and doesn't crash so time to start getting more feedback from actual users.

Missed posting about this yesterday with all the conference talk, but I just got the biggest board game I’ve ever backed: Witcher!

(Well, most of it. The box that fits all the expansions is shipping separately?)

Pets were very excited to help us unbox.

The gaming table we bought doesn’t ship until December, maybe, if we’re lucky, so I guess I won’t be opening this for a while!

PSA: if you're having issues with the #WWDC2023 "Build an app with #SwiftData" session similar to:

CompileDylibError: Failed to build ContentView.swift

Compiling failed: main actor-isolated let 'previewContainer' can not be referenced from a non-isolated context

Replacing the `#Preview` macro with the old-style preview syntax resolves the issue. (I don't have macOS 14 so I'm running the preview on iOS and it looks weird with the frame so I removed it. Added a frame version if you want it.)

Trapped in the kitchen under a dog so it’s a good thing I have a nice podcast to keep me company with my morning coffee.

For the curious, this is what I'm resurrecting from the languishing pile: a macOS PR dashboard to keep an eye on PRs in repositories I care about, decide whether I need to watch new PRs in my "Inbox" or I can safely ignore them, and get updates about status, reviews, etc.

As someone who works on documentation for a handful of engineering teams and in a few different documentation repositories, having one place to roll up things I care about is a big win to stay on top of things.

Sitting on a Zoom call for an all-hands meeting at work and I glanced over to my left and this is what I see.

#CatsOfMastodon #remote

This little old girl loves it when we give her very noisy kisses. Our younger dog gets major FOMO when anyone else is getting attention that he’s not getting, so now he loves noisy kisses, too.

What have we done?

My seat has been thiefed. But he wants to know why I’m not rubbing his belly.