med-mastodon.com is one of the many independent Mastodon servers you can use to participate in the fediverse.
Medical community on Mastodon

Administered by:

Server stats:

364
active users

#macosdev

3 posts2 participants0 posts today

Back to work on my current app project. The inspiration I took from #wwdc was stick to stock everything.

I don’t normally wander too far into custom navigation or components but I’m redoing a few things to be simpler.

To be fair I had forgotten some of last years newer #SwiftUI stuff and while digging around in the developer app I was reminded of some better ways to do things.

This way when I dig into the new UI style around beta 3/4 my life should be easier.

One of the more tedious things to do with #Xcode and #SwiftUI is to set up previews for complex scenarios such as things with deep #SwiftData schemas.

Its also one of the more rewarding things. It's worth it 99 out of 100 times.

Not only can you iterate on views and components but it helps you think about your apps architecture. I almost always consider different structure to my code when I get stuck on creating a preview.

I have a question for the seasoned macOS devs.

Looks like I’ll have to redesign Cork for this next release. How do I go about redesigning it, without having to drop older system versions? I really don’t want to implement the same feature twice, once for the old design, and once for the new design.

By the way, I've been working on this client project for macOS, and it's taking me up and down the stack from launchd, via XPC, all the way to SwiftUI and back. I had to read some of the "Archived" OS X docs, and you know these are good and leave you with a "hopeful for the future of technology" kind of feeling ☺️.

Anyway, I'm loving every minute of it ^_^

Upcoming online #SwiftDev / #AppleDev / #iosDev / #macOSDev events this weekend:

Coding Dojo: Learning Together
🗓️ Saturday, May 31, 3am Pacific, 10:00 UTC

Ensemble coding to learn more coding skills together. Working through coding kata, applying test-driven development.
discord.gg/sGM552KyMn?event=13

1/4

DiscordJoin the Swift Dev Chat Discord Server!Software developers, hobbyists, and learners, using the Swift programming language. | 207 members

Poll: What should happen when double-clicking a post, hashtag, user, etc. in #Oliphaunt?

Originally, double-clicking did nothing. The latest build now opens items in a new window.

For Cartographer, I redid how you move a location. The prior method was pick a point on the map and the location was updated.

The new way is drag and drop. Locations are locked by default to prevent accidental moves. Much nicer.

Probably a good stopping point for the week.

(the video is a little flashy on the map redraws)