mastodon.world is one of the many independent Mastodon servers you can use to participate in the fediverse.
Generic Mastodon server for anyone to use.

Server stats:

8.5K
active users

#macosdev

2 posts1 participant2 posts today

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

Swift Dev Chat “office hours”
🗓️ Saturday, July 5, 11am Pacific, 18:00 UTC
(Will run just for half an hour this week, with the concurrency group learning session joining in.)

Bring your questions, frustrations, excitement, and ideas, around software development on Apple platforms, especially using the Swift language. You can also “show and tell” your projects.
discord.gg/euyXVzzX?event=1388

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

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

Coding Dojo: Learning Together
🗓️ Saturday, June 28, 3am Pacific, 10:00 UTC

Ensemble coding to learn more Swift language coding skills together. Working through coding kata, applying test-driven development.
#SwiftDev
discord.gg/euyXVzzX?event=1383
1/4

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

SwiftUI gurus.

How to make the shuffling of this code fast on macOS? It performs without a problem under iOS, but macOS is blocking the main thread for a long time.

I think it’s the underlying NSOutlineView that moves Views around. From what I can see, the only workaround is to totally invalidate the View with a different ID.

Were the haters right about SwiftUI? 😭
#iosdev #macosdev #apple #swift #swiftui #indiedev

Working with an inspector view in my #SwiftUI app. I have a toolbar that appears in the inspector and I wanted to center the buttons atop the inspector.

Tried a bunch of the usual SwiftUI things but what seemed to work was wrapping the toolbar view like this:

ToolbarItemGroup(placement: .secondaryAction) {
toolbarView()
}

Buttons now stay centered if the inspector is resized.

Not sure if thats a bug? or there is a better way? Works for now.

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.