iOS Dev Weekly - iOS Dev Weekly - Issue 628

What does the future of testing in Swift look like? Find out, and give feedback! šŸ“š
 

iOS Dev Weekly

 
View on the Web    Archives

ISSUE 628  September 22nd 2023

 
Comment

  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  Permalink

 
 

  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.

essentialdeveloper.com  Permalink

 
 
 

  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. šŸ‘

swift.org  Permalink

 
 

  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.

betamagic.nl  Permalink

 
 

  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:

  1. Itā€™s not a complicated exercise. I did it in a few hours.
  2. It fixed bugs instead of creating new ones.
  3. Performance improvements are noticeable and worth it.

Whatā€™s not to like in that list? šŸ˜

medium.com  Permalink

 

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!

pointfree.co  Permalink

 

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.

christiantietze.de  Permalink

 

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. šŸ˜±

thatvirtualboy.com  Permalink

 
 

  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)

 Permalink

 

Are you hiring? I say it every week, but donā€™t forget that you can post jobs for free to iOS Dev Jobs!

 Permalink

 
 

  And finally...  

 

Singularity achieved! šŸ¤–

 Permalink

 
You received this email because you subscribed via the iOS Dev Weekly site.
We'll be sorry to see you go but you can unsubscribe instantly.
 
Shiny Development Ltd. Daresbury Innovation Centre Keckwick Lane Daresbury Cheshire WA4 4FS United Kingdom
 
 

 
 

RSS

 
Ā©2023 iOS Dev Weekly | Privacy Policy | Mastodon | Twitter | Suggest a Link
 
Published with Curated

Older messages

iOS Dev Weekly - Issue 627

Sunday, September 17, 2023

No commentary today, but plenty of links! 🔗🔗🔗 View on the Web Archives ISSUE 627 September 15th 2023 Comment I hope you'll forgive me for skipping my commentary in today's issue. I've been

iOS Dev Weekly - Issue 626

Friday, September 8, 2023

Are all human eyes approximately the same distance apart? 🤷‍♂️ View on the Web Archives ISSUE 626 September 8th 2023 Comment I said last week that I don't expect any big Vision Pro news in

iOS Dev Weekly - Issue 625

Friday, September 1, 2023

Running all the tests is for pre-commit hooks and CI only! View on the Web Archives ISSUE 625 September 1st 2023 Comment I noticed Mike Gerasimenko's new XcodeSelectiveTesting library this week,

iOS Dev Weekly - Issue 624

Friday, August 25, 2023

How do you keep the files you're working on easily at hand? Here's how I do it. 🚀 View on the Web Archives ISSUE 624 August 25th 2023 Comment It's been a while since I wrote anything

iOS Dev Weekly - Issue 623

Friday, August 18, 2023

Welcome to swift-iOS-Dev-Weekly! 🤣 View on the Web Archives ISSUE 623 August 18th 2023 Comment If you've listened to the last couple of episodes of the Swift Package Index podcast, Swift Package

You Might Also Like

🤖 Will AI Gadgets Replace Our Smartphones? — 4 Ways to Use Excel in Daily Life

Sunday, May 19, 2024

Also: How to Declutter Your Google Search Results, and More! How-To Geek Logo May 19, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your

Daily Coding Problem: Problem #1446 [Medium]

Sunday, May 19, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a set of closed intervals, find the smallest set of numbers that covers

RD#456 Data Fetching Patterns in Single-Page Applications

Sunday, May 19, 2024

Five patterns to help Single Page Applications fetch data from remote sources ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

C#506 .NET 9 LINQ Performance Edition

Sunday, May 19, 2024

The team has been working on improving performance ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

PD#574 Programming like it’s 1977

Sunday, May 19, 2024

128 bytes of RAM, no operating system, and limited types of sprites ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Defeating Mouse Lint 🖱️

Sunday, May 19, 2024

How optical mice scrolled past rubber balls. Here's a version for your browser. Hunting for the end of the long tail • May 19, 2024 Hey all, sorry this is running a little late. Last week's odd

Android Weekly #623 🤖

Sunday, May 19, 2024

View in web browser 623 May 19th, 2024 Articles & Tutorials Sponsored Webinar: Compiler Technology vs Wrapper Solutions The right mobile app protection secures apps and SDKs against threats such as

Does AI spell doom for the open web?

Sunday, May 19, 2024

Plus, a proposal for Melinda French Gates View this email online in your browser By Anthony Ha Sunday, May 19, 2024 Image Credits: Google OpenAI and Google both made big announcements this week —

Sunday Digest | Featuring 'Visualizing the Tax Burden of Every U.S. State' 📊

Sunday, May 19, 2024

Every visualization published this week, in one place. Visual Capitalist Sunday Digest logo May 19, 2024 | View Online | Subscribe | VC+ The Best of This Week's Visuals Presented by Voronoi: The

Setapp's alternative mobile App Store & Subconscious winding down

Sunday, May 19, 2024

AI's major alien concept is transparency, Setapp launches alternative mobile App Store, The Happiness Trinity, and a lot more in this week's issue of Creativerly. Creativerly Setapp's