iOS Dev Weekly - iOS Dev Weekly - Issue 659

Is Swift 6 hitting one of the REAL hard problems? Not generics, not data race safety, but naming things! šŸ˜¬
 

iOS Dev Weekly

 
View on the Web    Archives

ISSUE 659  May 3rd 2024

 
Comment

  Comment  

 

Naming things is one of the two hard problems in computer science, and Swift 6 has a ā€œnaming thingsā€ problem at the moment.

Weā€™ve been repeatedly told that Swift 6 will include some changes that break source compatibility with Swift 5.x. That makes perfect sense, of course. Thatā€™s what a major semantic version should be used for. So far so good. šŸ‘

But what I said there doesnā€™t give the whole picture, and thatā€™s where the naming problem comes in. Thereā€™s the Swift 6 compiler, and then thereā€™s ā€œSwift 6 language modeā€, and you can adopt the Swift 6 compiler without adopting the language mode. All the strict concurrency checks and data race safety features are in the language mode, and that brings the breaking changes.

You can start using the Swift 6 compiler now (or more likely when it makes it to a beta/release version of Xcode) and then opt-in to the language mode when you feel like tackling the breaking changes. Thereā€™s no imminent deadline breathing down your neck.

None of this is new news. The language mode has been talked about for a long time, but the distinction is subtle and it passed me by until recently, and you may be in the same situation.

A much better person to talk about this would be Holly Borla, manager of the Swift Compiler Team, and it just so happens we recently had her as a guest on the Swift Package Indexing podcast. It was a pleasure to talk to Holly, and we covered this issue in depth as one of several Swift 6 topics.

If you donā€™t already subscribe to the podcast give this episode a listen and consider hitting that subscribe or follow button in your podcast player. We talk about Swift (including server-side), the development of the Swift Package Index project, and package ecosystem topics. We also highlight a selection of community-written packages in every episode. Give it a try!

Dave Verwer  Permalink

 
 

  Sponsored Link  

 

Boost Your iOS Workflow with Orka Toolkit

Run ephemeral VMs on any Apple silicon machine for pristine builds and testing. Increase build & test efficiency and minimize failures. Brought to you by MacStadium - the leader in Apple app developer solutions. Download it for free.

macstadium.com  Permalink

 
 
 

  News  

 

The curious case of Apple's third-party SDK list for privacy manifests

You presumably know already that the privacy requirement for app submissions came into effect two days ago, but there are some problems and Jesse Squires is here to dig into them. I can see his confusion around the list of included packages, especially SVProgressHUD and SnapKit being included where several popular advertising frameworks are not. I also agree that the lack of links to define exactly which packages are being referenced is baffling. Jesse has more to say, of course. I wonder if weā€™ll see changes to the list in the next few months.

As an aside, we should probably add some metadata to the Swift Package Index to identify these packages to people browsing the index. šŸ¤”

jessesquires.com  Permalink

 
 

  Code  

 

Access level on import statements in Swift 6

Is there anything in Swift 6 that isnā€™t concurrency relayed? Why yes, there is! Pol Piella Abadia writes about a nifty feature first implemented in 5.9 but is on by default in Swift 6.

polpiella.dev  Permalink

 

Subscribing to SwiftData changes outside SwiftUI

What a great follow-on from last weekā€™s article by Finn Voorhees, and I think this situation might be more common in the real world. He gives the example of hooking up a UIKit collection view via an AsyncStream and a NSDiffableDataSourceSnapshot.

finnvoorhees.com  Permalink

 

Configurable button with different states in SwiftUI

Reusing a button for various states of a long-running task can keep the userā€™s focus on the task thatā€™s happening, and it reduces the space needed for multiple controls that are never all in use simultaneously. Thereā€™s no standard control for this, so Danijela Vrzan made one! šŸ‘

danijelavrzan.com  Permalink

 
 

  Design  

 

The Sound of Software

This article is the best thing I read this week. Yes, it wonā€™t be suitable for every app, but Iā€™ll be surprised if you take nothing away from reading this!

I havenā€™t read the other parts yet, but this is part of a series of articles and every one of them just got added to my reading list. Thereā€™s Serious Play, The Future of Design Tools, and the most wonderfully named post titled The World's Most Satisfying Checkbox. šŸ˜‚

notboring.software  Permalink

 
 

  Videos  

 

SwiftData

A nine-part series of videos on SwiftData sounds like a lot to chew through, doesnā€™t it? What if it was from Daniel Steinberg? Now youā€™re interested? Well, what if I added that theyā€™re each only about 5 minutes long? Did that trigger your clicking finger? šŸ˜‚ Great work from Daniel, as always.

youtube.com  Permalink

 
 

  Jobs  

 

Framework Developer @ PSPDFKit ā€“ Design API that will affect hundreds of apps, and create UI used by millions of users. Collaborate globally in a small team working on the leading document SDK for iOS, macOS and visionOS. Make the most of a flexible schedule, and attend annual retreats at exciting places around the world. ā€“ Remote (Anywhere)

 Permalink

 

Don't forget to post any open positions you have available on iOS Dev Jobs!

 Permalink

 
 

  And finally...  

 

Is your desktop this shiny? ā¤ļø

 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.
 
iOS Dev Weekly is published by Verwer Services Ltd. with a registered office at 5 Albert Road, Southsea, Hampshire, England, PO5 2SE.
 
 

 
 

RSS

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

Older messages

iOS Dev Weekly - Issue 658

Friday, April 26, 2024

Meet the Swift Student Challenge winners for WWDC 2024 🎉 View on the Web Archives ISSUE 658 April 26th 2024 Comment Visiting WWDC is always a special experience, but attending is harder than with many

iOS Dev Weekly - Issue 657

Friday, April 19, 2024

What's the easiest and least hassle path to launching a custom app store in the EU? 🏪 View on the Web Archives ISSUE 657 April 19th 2024 Comment You probably already saw this week's

iOS Dev Weekly - Issue 656

Saturday, April 13, 2024

Not so very long ago, was somebody we all know, wp on the stage he was the king, showing what the future just might bring… 🎸 View on the Web Archives ISSUE 656 April 12th 2024 Comment One great thing

iOS Dev Weekly - Issue 655

Friday, April 5, 2024

I saw a striking reminder of progress in the latest official Swift tutorials 😱 View on the Web Archives ISSUE 655 April 5th 2024 Comment Did you see the new Swift tutorials Apple released this week?

iOS Dev Weekly - Issue 654

Friday, March 29, 2024

Yes, Uber.app, this intro was inspired by you and your complete fiction of an "Allow offers and promos..." setting! 🙄 View on the Web Archives ISSUE 654 March 29th 2024 Comment It's that

You Might Also Like

Sunday Digest | Featuring 'The World’s 20 Largest Economies, by GDP (PPP)' 📊

Sunday, December 22, 2024

Every visualization published this week, in one place. Dec 22, 2024 | View Online | Subscribe | VC+ | Download Our App Hello, welcome to your Sunday Digest. This week, we visualized public debt by

Android Weekly #654 🤖

Sunday, December 22, 2024

View in web browser 654 December 22nd, 2024 Articles & Tutorials Sponsored Solving ANRs with OpenTelemetry While OpenTelemetry is the new observability standard, it lacks official support for many

😸 Our interview with Amjad Masad

Sunday, December 22, 2024

Welcome back, builders Product Hunt Sunday, Dec 22 The Roundup This newsletter was brought to you by AssemblyAI Welcome back, builders Happy Sunday! We've got a special edition of the Roundup this

C#537 Automating Santa's Workshop with NServiceBus

Sunday, December 22, 2024

Using event-driven architecture for effective gift delivery 🎄🎁 ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

The Race for AI Reasoning is Challenging our Imagination

Sunday, December 22, 2024

New reasoning models from Google and OpenAI ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

ScienceDaily/Minimalist lamp/Avocado tip

Sunday, December 22, 2024

Recomendo - issue #442 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Laravel VS Code Extension, Laravel 11.36, Wirechat, and more! - №544

Sunday, December 22, 2024

Your Laravel week in review ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Kotlin Weekly #438

Sunday, December 22, 2024

ISSUE #438 22nd of December 2024 Announcements klibs.io JetBrains has introduced the alpha version of klibs.io – a web service that speeds up and simplifies discovering KMP libraries that best meet

Weekend Reading — Happy "That's a January Problem" week

Saturday, December 21, 2024

Can Christmas season start a little earlier this year Tech Stuff Ramsey Nasser fuck it happened i am in a situation where i do actually need to reverse a linked list Atuin I just learned about Atuin

Daily Coding Problem: Problem #1644 [Easy]

Saturday, December 21, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by IBM. Given an integer, find the next permutation of it in absolute order. For example,