British Swift Syntax 🇬🇧

If you’ve ever winced at the sight of Color instead of Colour, or felt despair reading try…catch when a good old “Would you mind…?” would be spot on, then this one’s for you. I’ve put together a small, but fit and proper set of Swift tidbits that clean up the more questionable Americanisms in our lovely codebases. It’s a tiny rebellion. A syntax protest. A quiet sip of tea in the face of UIColor. You can find the code featured in this article in full on GitHub […]

https://blog.koloten.co/2025/05/british-swift-syntax-%f0%9f%87%ac%f0%9f%87%a7/

British Swift Syntax 🇬🇧 – Code and Crumpets

#xcode tip:

If you have big JSON files in your xcodeproj that you always accidentally click on and cause Xcode to beachball for 30 seconds...

Right click a json file, Open As -> Always Use -> Hex

Xcode can load json as hex instantaneously.

Time Profiler instrument tip: look for functions with a high Self Weight value in the call tree view. Those functions are the ones where your app spends the most time.

#Xcode

My Xcode 16 autocomplete is totally broken. Restarting did nothing.

I am using the plain old one, not the "fancy AI" they added recently

#iOSDev #Xcode

#Nachtrag: #Xcode 16.4 #Release #Candidate veröffentlicht und bringt u. A. #Swift 6!

🦾 xtool: Cross-platform Xcode replacement. Build and deploy iOS apps with SwiftPM on Linux, Windows, macOS

「 xtool is a cross-platform (Linux/WSL/macOS) tool that replicates Xcode functionality with open standards.

âś… Build a SwiftPM package into an iOS app

âś… Sign and install iOS apps

✅ Interact with Apple Developer Services programmatically 」

https://github.com/xtool-org/xtool

#xtool #xcode #iosdev #opensource

GitHub - xtool-org/xtool: Cross-platform Xcode replacement. Build and deploy iOS apps with SwiftPM on Linux, Windows, macOS.

Cross-platform Xcode replacement. Build and deploy iOS apps with SwiftPM on Linux, Windows, macOS. - xtool-org/xtool

GitHub

At today’s weekly Swift Dev Chat “office hours”, @is and I conducted a successful problem investigation.

I had been experiencing significantly slower build times recently, and hadn’t gotten around to digging into it. But talking today we decided to do it as a pair in the session.

In brief, the “Enable Module Verifier” build setting was adding large delays to build times for Framework targets in an Xcode project.
1/2

#Xcode #SwiftDev #iOSDev #macOSDev

GitHub - xtool-org/xtool: Cross-platform Xcode replacement. Build and deploy iOS apps with SwiftPM on Linux, Windows, macOS.

Cross-platform Xcode replacement. Build and deploy iOS apps with SwiftPM on Linux, Windows, macOS. - xtool-org/xtool

GitHub

Yes, Xcode, that's exactly what I was looking for, I wanted to print the CSSM_CERT_X_509v1'th timer in the timers array đź« 

#xcode #MacDev

If you are having trouble reading Instruments flame graphs, the following article may help:

https://swiftdevjournal.com/posts/instruments-flame-graph-intro/

#Xcode

Instruments Flame Graph Introduction | Swift Dev Journal