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

Happy Birthday, Threads: We have some notes for you

Friday, July 5, 2024

What Threads can learn from the competition View this email online in your browser By Rebecca Bellan Friday, July 5, 2024 Welcome to TechCrunch AM! Today, we're looking at fresh VC funds for

How to scan for malicious apps on Android

Friday, July 5, 2024

AI-powered BBQ grill vs. $1600 smoker; PSA: Don't charge your phone while doing this -- ZDNET ZDNET Tech Today - US July 5, 2024 placeholder How to manually scan for malicious apps on Android If

⚙️ ElevenLabs’ latest release highlights the issue of digital necromancy

Friday, July 5, 2024

Plus: Facebook's AI training policy gets disrupted in Brazil ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Polyfill[.]io Attack Impacts Over 380,000 Hosts, Including Major Companies

Friday, July 5, 2024

THN Daily Updates Newsletter cover [Watch LIVE] Keys to Your Kingdom: Why Compromised Credentials Are the #1 Attack Vector in 2024 From Data Breaches to Identity Theft: The Ripple Effects of

ASP.NET Core News - 07/05/2024

Friday, July 5, 2024

View this email in your browser Get ready for this weeks best blog posts about ASP.NET Core! Blazor Basics: Accessing Browser Storage in Blazor Web Apps — by chbernasconic Flexible PDF Reporting in .

Post from Syncfusion Blogs on 07/05/2024

Friday, July 5, 2024

New blogs from Syncfusion What's New in Blazor Image Editor: 2024 Volume 2 By Satheeskumar S This blog explores the new features added to the Syncfusion Blazor Image Editor component for the 2024

🫀 Put your organs down and become an immortal computer

Friday, July 5, 2024

Are you a transhumanist or do you just need therapy? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

New Release: Obsidian Starter Kit 2.0

Friday, July 5, 2024

Release of v2.1.0 of the Obsidian Starter Kit Sébastien Dubois DeveloPassion's Newsletter New Release: Obsidian Starter Kit 2.0 By Sebastien Dubois • 5 Jul 2024 View in browser View in browser I

SWLW #606: Designing an Engineering Strategy, Breaking down ‘Executive Presence’, and more.

Friday, July 5, 2024

Weekly articles & videos about people, culture and leadership: everything you need to design the org that makes the product. A weekly newsletter by Oren Ellenbogen with the best content I found

Issue #548: LittleJS Game Jam, Warme Y2K, and monster truck

Friday, July 5, 2024

View this email in your browser Issue #548 - July 5th 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 this