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

➡️ Why Your Phone Doesn't Want You to Sideload Apps — Setting the Default Gateway in Linux

Friday, November 22, 2024

Also: Hey Apple, It's Time to Upgrade the Macs Storage, and More! How-To Geek Logo November 22, 2024 Did You Know Fantasy author JRR Tolkien is credited with inventing the main concept of orcs and

JSK Daily for Nov 22, 2024

Friday, November 22, 2024

JSK Daily for Nov 22, 2024 View this email in your browser A community curated daily e-mail of JavaScript news React E-Commerce App for Digital Products: Part 4 (Creating the Home Page) This component

Spyglass Dispatch: The Fate of Chrome • Amazon Tops Up Anthropic • Pros Quit Xitter • Brave Powers AI Search • Apple's Lazy AI River • RIP Enrique Allen

Friday, November 22, 2024

The Fate of Chrome • Amazon Tops Up Anthropic • Pros Quit Xitter • Brave Powers AI Search • Apple's Lazy AI River • RIP Enrique Allen The Spyglass Dispatch is a free newsletter sent out daily on

Charted | How the Global Distribution of Wealth Has Changed (2000-2023) 💰

Friday, November 22, 2024

This graphic illustrates the shifts in global wealth distribution between 2000 and 2023. View Online | Subscribe | Download Our App Presented by: MSCI >> Get the Free Investor Guide Now FEATURED

Daily Coding Problem: Problem #1616 [Easy]

Friday, November 22, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Alibaba. Given an even number (greater than 2), return two prime numbers whose sum will

The problem to solve

Friday, November 22, 2024

​ Use problem framing to define the problem to solve This week, Tom Parson and Krishna Raha share tools and frameworks to identify and address challenges effectively, while Voltage Control highlights

Issue #568: Random mazes, train clock, and ReKill

Friday, November 22, 2024

View this email in your browser Issue #568 - November 22nd 2024 Weekly newsletter about Web Game Development. If you have anything you want to share with our community please let me know by replying to

Whats Next for AI: Interpreting Anthropic CEOs Vision

Friday, November 22, 2024

Top Tech Content sent at Noon! How the world collects web data Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, November 22, 2024? The HackerNoon

iOS Cocoa Treats

Friday, November 22, 2024

View in browser Hello, you're reading Infinum iOS Cocoa Treats, bringing you the latest iOS related news straight to your inbox every week. Using the SwiftUI ImageRenderer The SwiftUI ImageRenderer

iOS Dev Weekly - Issue 688

Friday, November 22, 2024

How do you get an app featured on the App Store? There's a new process, and it's great! 📝 View on the Web Archives ISSUE 688 November 22nd 2024 Comment Every developer, from solo indie devs to