Lucas van Dongen - Swift Developer / Writer (@lucasvandongen) 's Twitter Profile
Lucas van Dongen - Swift Developer / Writer

@lucasvandongen

Worked over a decade in the mobile industry, creating beautiful apps using Swift. (Ghost)writing and talking about Swift 🏂🛹 Currently @ chainels.com

ID: 121140517

linkhttp://lucasvandongen.dev calendar_today08-03-2010 15:05:38

4,4K Tweet

546 Followers

1,1K Following

Lucas van Dongen - Swift Developer / Writer (@lucasvandongen) 's Twitter Profile Photo

For everybody that just started with Xcode 16 this week: I’ve done quite a bit of work with the new Swift Testing framework. I applied Test Driven Development on an actual application using Swift Testing and wrote about my experiences: lucasvandongen.dev/swift_testing_…

Joannis Orlandos (@joannisorlandos) 's Twitter Profile Photo

This new post dives into SwiftPM Snippets, a powerful system for writing example code! The article is written by Dianna Ma, SSWG Member and creator of Swiftinit.org. Fun fact: SwiftPM Snippets are what powers all our articles! swiftonserver.com/getting-starte…

Jacob Bartlett (@jacobtechtavern) 's Twitter Profile Photo

Advanced Swift tip: When you need to parallelise massive tasks, optimise resources while avoiding blocking the main thread. Use ProcessInfo to use the number of CPU cores minus one.

Advanced Swift tip: 

When you need to parallelise massive tasks, optimise resources while avoiding blocking the main thread.

Use ProcessInfo to use the number of CPU cores minus one.
Lucas van Dongen - Swift Developer / Writer (@lucasvandongen) 's Twitter Profile Photo

I don’t really understand why this fixes a memory leak. An unowned and a weak reference shouldn’t increase the reference count the same way. My codebases are littered with unowned references without causing any trouble. Radar?

I don’t really understand why this fixes a memory leak. An unowned and a weak reference shouldn’t increase the reference count the same way.

My codebases are littered with unowned references without causing any trouble.

Radar?
Lucas van Dongen - Swift Developer / Writer (@lucasvandongen) 's Twitter Profile Photo

I agree. The current syntax encourages large do catch blocks. The right thing should always be the most convenient thing. As long as you’re forced to either exit or provide the value in the catch block it’s looking very idiomatic to me.

Wojciech Kulik (@kulik_wojciech) 's Twitter Profile Photo

It took a year, but I finally found the reason why incremental builds are significantly slower when using the xcodebuild tool rather than Xcode… And, as always, the reason is the same… a bug introduced by Apple 🤦‍♂️ Read more: github.com/wojciech-kulik… #iosdev #swiftlang

Nacho Soto (@nachosoto) 's Twitter Profile Photo

github.com/devMEremenko/X… is starting to get numbers for Xcode 16.x and it’s mind blowing how much slower Swift compilation has gotten: 30-40%!

HG 阿聻 𓆣 𓇽 (@ohgkg) 's Twitter Profile Photo

Partial teardown of M4 Mac Mini /w 16GB RAM & 256GB SSD. Interesting revealation: Wifi chip & antenna on the back of bottom air intake. SSD on a daughter board. And even the base 256GB version comes in two chips. No compromise in speed. Theoretically also end user upgradable.

Rithwik Jayasimha (@thel3l) 's Twitter Profile Photo

Apple released a hearing aids feature for the AirPods Pro a while ago. I bought a pair for grandma, but then realized that the feature was geoblocked in India So we at Lagrange Point decided to unblock it. It ended up involving a leaky microwave and building a Faraday cage:

Apple released a hearing aids feature for the AirPods Pro a while ago. I bought a pair for grandma, but then realized that the feature was geoblocked in India

So we at <a href="/_lagrangepoint/">Lagrange Point</a> decided to unblock it. It ended up involving a leaky microwave and building a Faraday cage:
Lucas van Dongen - Swift Developer / Writer (@lucasvandongen) 's Twitter Profile Photo

The #techXodus seems real. I would love to connect to you all on the alternatives: mastodon.social/@lucasvandongen bsky.app/profile/lucasv… I will try to find you there as well!

Luis 🛡️⚔️ (@lascorbe) 's Twitter Profile Photo

remember devs: **consistency is king 👑 ** always always always keep the same structure of the code you are working on no matter what don't like something? great, do a proposal or make a PR changing all of it dont allow room for a half baked project i will die on this hill

Lucas van Dongen - Swift Developer / Writer (@lucasvandongen) 's Twitter Profile Photo

So I expected Mastodon to be much better for tech than Bluesky but it looks like it’s easier to build a good list at BS. Those starter packs are really nice!

Lucas van Dongen - Swift Developer / Writer (@lucasvandongen) 's Twitter Profile Photo

It’s pretty easy to verify your domain for Bluesky, and pretty much a confirmation of your identity without paying or having a person taking an arbitrary decision if you get it. bsky.social/about/blog/4-2…

It’s pretty easy to verify your domain for Bluesky, and pretty much a confirmation of your identity without paying or having a person taking an arbitrary decision if you get it.

bsky.social/about/blog/4-2…