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

Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator

Friday, February 14, 2025

What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Defining Your Paranoia Level: Navigating Change Without the Overkill

Friday, February 14, 2025

We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy

5 ways AI can help with taxes 🪄

Friday, February 14, 2025

Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help

Recurring Automations + Secret Updates

Friday, February 14, 2025

Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

The First Provable AI-Proof Game: Introducing Butterfly Wings 4

Friday, February 14, 2025

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%

GCP Newsletter #437

Friday, February 14, 2025

Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers

Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰

Friday, February 14, 2025

Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from

The Great Social Media Diaspora & Tapestry is here

Friday, February 14, 2025

Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great

Daily Coding Problem: Problem #1689 [Medium]

Friday, February 14, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,

📧 Stop Conflating CQRS and MediatR

Friday, February 14, 2025

​ Stop Conflating CQRS and MediatR Read on: m​y website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your