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

💻 Issue 362 - React Anti-Pattern: Stop Passing Setters Down the Components Tree

Thursday, November 21, 2024

This week's Awesome React Weekly Read this email on the Web The Awesome React Weekly Issue » 362 Release Date Nov 21, 2024 Your weekly report of the most popular React news, articles and projects

💻 Issue 444 - Building simple event-driven applications with Pub/Sub

Thursday, November 21, 2024

This week's Awesome Node.js Weekly Read this email on the Web The Awesome Node.js Weekly Issue » 444 Release Date Nov 21, 2024 Your weekly report of the most popular Node.js news, articles and

📱 Issue 441 - Shift Left Is the Tip of the Iceberg

Thursday, November 21, 2024

This week's Awesome Swift Weekly Read this email on the Web The Awesome Swift Weekly Issue » 441 Release Date Nov 21, 2024 Your weekly report of the most popular Swift news, articles and projects

💻 Issue 439 - Async/Await Is Real And Can Hurt You

Thursday, November 21, 2024

This week's Awesome Rust Weekly Read this email on the Web The Awesome Rust Weekly Issue » 439 Release Date Nov 21, 2024 Your weekly report of the most popular Rust news, articles and projects

📲 Why I Ditched Linux for Samsung DeX — Buy This Instead of a Gaming Headset

Thursday, November 21, 2024

Also: Taking Instagram Stories to the Next Level, and More! How-To Geek Logo November 21, 2024 Did You Know Thurl Ravenscroft was both the voice behind the Christmas song "You're a Mean One,

Ranked | The World's 30 Largest Exporters 🌎

Thursday, November 21, 2024

We show the largest exporters in the world amid a surge in trade restrictions, rising populism, and shipping route disruptions. View Online | Subscribe | Download Our App 5 DAYS LEFT! Learn Visual

AI-Heavy VS 2022 v17.12 Ships, 'Guided Chat' for Copilot, Uno Platform's 'Hot Design' Tool, More

Thursday, November 21, 2024

Home | News | How To | Webcasts | Whitepapers | Advertise .NET Insight November 21, 2024 THIS ISSUE SPONSORED BY: ■ Build .NET Applications with Powerful Reporting ■ dtSearch® - INSTANTLY SEARCH

Help create something special

Thursday, November 21, 2024

Hi there, As a product person myself, I know how crucial it is to empathize with those we serve. And we'll continue, after having joined forces with Pendo and Mind the Product, to make it a number

Daily Coding Problem: Problem #1615 [Easy]

Thursday, November 21, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Amazon. Given an array and a number k that's smaller than the length of the array,

Stay compliant without compromising productivity

Thursday, November 21, 2024

Join us on December 5th ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏