Sponsored Link
Find and Fix Vulnerabilities in your iOS apps
AppSweep by Guardsquare helps developers automate the mobile app security testing process with fast, free scans. By using AppSweepâs actionable recommendations, developers can improve the security posture of their apps in accordance with security standards like OWASP. Get started now.
Tools
Dash 7
A new version of Dash is always a happy occasion, and this one is no different, with a major focus on better search in the app. Itâs an essential part of my everyday toolkit.
Improve the build times of your SPM Packages and apps
This article from Manu Herrera has some great tips for speeding up your projectâs compile times. It covers everything from using the âRecent Build Timelineâ assistant view in Xcode to identifying slow-to-compile code using SwiftLint.
Of course, it means youâll no longer have this excuse, so⊠you know⊠pros and cons. đ
Code
Introducing ObservableConverter
Apple has a well-written guide and some sample code for Migrating from the Observable Object protocol to the new Observable macro, but what if you didnât want to do that work manually? Brian Capps has a new SwiftPM command plugin that you can install, run once to convert your code, then remove from your project!
How to check if you use a required reason API
Whatâs the easiest way to find out if you are using one of the new required reason APIs? It might be the technique that Marco Eidinger outlines in his most recent article. His script might be helpful in CI, too.
Making your SwiftData models Codable
Have you tried adding Codable to a SwiftData model yet? Donny Wals did and has written up why it doesnât immediately work and how to get it to a place where it does. He even covers how to deal with codable SwiftData relationships.
Jobs
Software Engineer, macOS @ Raycast â Build something you actually use. Ship every two weeks. No bureaucracy bs. Hack on ideas every Friday. Location-independent salary. Remote, UTC ± 3 hours. â Remote (within European timezones)
Is your company hiring? List your open Swift and Apple platform positions for free with iOS Dev Jobs.
And finally...
How UITableView
really works, and how it really, really works! đ
Comment
Itâs been a while since I wrote anything practical here, but Dominik Hauserâs recent tip on filtering the Issue Navigator inspired me to share a technique for navigating Xcode that saves me time.
Thereâs a wealth of genuinely helpful functionality in navigator-pane filter bars, and one I use all the time is in the Project Navigator filter fieldâs âShow only files with source-control statusâ feature.
I donât use Xcode for source control tasks, but that button is still useful. It filters the Project Navigator tree to contain only modified and uncommitted files, which, by definition, are often the files youâre working with. I find that filtered view combined with âOpen QuicklyâŠâ to open new tabs with unmodified files to be a powerful combination of always having the file you need within reach. I find having lots of open editor tabs confusing, so I close them reasonably often, and the filtered Project Navigator is an excellent summary of contextually important files.
Then, once I make a commit, I commonly modify the same files I have open in tabs as I continue on my branch, returning them to a modified state and bringing them back to the filtered Project Navigator.
This works exceptionally well if you like committing smaller changesets, but even if you prefer working with larger commits, youâll still be looking at a much smaller set of files than an unfiltered tree!
Anyway, thatâs my practical tip for today! I hope itâs helpful. Next, I need to learn to summarise this in two pictures, like Dominik does!
Dave Verwer