Sponsored Link
Join a FREE iOS Architect Crash Course before it ends
If you're a mid/senior iOS developer looking to improve both your skills and salary level, join this free online crash course. Itās available only for a limited time, so get it now.
News
Swift 5.9 Released
Here it is! New Xcodes and a new Swift to go alongside. If you've not been following along with the betas, there's everything you need to know in this post on the official Swift blog. š
Tools
Core Data Lab and SwiftData
Iāve written about Core Data Lab before, and it remains an excellent companion app with enough features specific to Core Data to make it worthwhile over a āregularā Core Data client, so I was excited to read that thereās a beta available for a new release that adds support for SwiftData!
For full disclosure, I received a copy of this app for free a couple of years ago.
Code
Migrating Ice Cubes to the Observation framework
You should read the entirety of Thomas Ricouardās article on Observable in Ice Cubes, but I did love this summary from the opening paragraphs:
- Itās not a complicated exercise. I did it in a few hours.
- It fixed bugs instead of creating new ones.
- Performance improvements are noticeable and worth it.
Whatās not to like in that list? š
Inline Snapshot and Macro Testing
I couldnāt decide whether to link to this post on inline snapshot testing or this post on testing Swift macros. I decided on inline snapshotting, which Iāll use daily, where Iāve not yet created any macros! Thanks so much to Brandon Williams and Stephen Celis for both the libraries and for writing guides, too!
For full disclosure, Point-Free sponsors the Swift Package Index. This newsletter is not directly related, but I guess thatās what full disclosure means!
Release Note Highlighting in Sparkle v2.5
I love this new feature of Sparkle, the open-source Mac framework that has tirelessly kept all your appsĀ¹ up to date for over 15 years. Hereās Christian Tietze talking about Nathan Manceaux-Panotās recent contribution to the project, adding highlighted release notes for when you need to push out a bug fix but donāt want people to miss your significant features from your last update.
Ā¹ At least those installed outside the App Store.
Considering adding a platform? A word of caution
A cautionary tale from Ryan Klumph about adding platforms to a universal app. You can check out any time you like, but you can never leave. š±
Jobs
Senior iOS Engineer @ Luma AI ā We are a small AI research and product company working on new kinds of creative tools for 3D. Our mission is to democratize the 3D experience for all. iOS at Luma is at the center of the product universe. We are growing the iOS team from 1-4, please reach out if you're interested! ā On-site (United States in CA) with some remote work (within US timezones)
Senior iOS Engineer @ sengaro GmbH ā We offer an exciting position in Innsbruck (AT) with technical responsibility and conceptual refinements of our long-term products. They're used in the medical field by paramedics and docs to save lives every day. Become part of it and support people in emergencies! (proficiency in German required) ā On-site (Austria) with some remote work (within European timezones)
Are you hiring? I say it every week, but donāt forget that you can post jobs for free to iOS Dev Jobs!
And finally...
Singularity achieved! š¤
Comment
Happy new device day! Thanks also for all of the kind wishes after last weekās issue. Iām feeling much better, thank you. ā¤ļø
I want to write about this thread on the Swift forums this week. The title, āA New Approach to Testing in Swiftā, and the authors being Developer Tools and XCTest team members was enough to make this significant, but the content is even better.
XCTest is a fine testing framework. It has all you need to write everything from a couple of individual unit tests to huge test suites with thousands. Outside of a few additions every year, though, it has looked and felt the same for a long time. This thread gives us a sneak peek at a successor to XCTest, and itās an open-source package that Apple will develop in public! Even better, weāre being allowed to see it at a very early stage. Iād recommend starting by reading the vision document, but thereās plenty in the repository to explore already. The team are looking for feedback, so please read it and comment on the thread. I canāt wait to see how it develops. š
Iāve dabbled with Quick and Nimble in the past, and while I feel very much at home with their approach, I always fall off, though, because of how their tests integrate with Xcodeās test reporting feature. Thatās not the fault of those two (or any other) testing libraries but a symptom of how tightly coupled XCTest and Xcode are.
I am sure this new testing library will be wonderful and become the de-facto testing solution for Swift. However, I also hope the integration between it and Xcode will be open to other testing frameworks. There are hints in the document that point towards this being on the teamās mind, so I donāt think itās out of the question. If so, I can see this ushering in a new era of fantastic testing tools for Swift in addition to this library.
Dave Verwer