iOS Dev Weekly - iOS Dev Weekly - Issue 563

The best way to think about SwiftUI and how you should treat new technology. 😶‍🌫️
 

iOS Dev Weekly

 
View on the Web    Archives

ISSUE 563  June 17th 2022

 
Comment

  Comment  

 

I’ve lost count of how many times I’ve seen someone ask, “What should I use, SwiftUI or UIKit” or read a blog post titled “Is SwiftUI ready for production?” over the last few years. To be clear, I intend no criticism to anyone who asks those questions. It’s perfectly natural to want an answer!

Humans love to look for absolutes. We want to know that X is better than Y, so we don’t need to spend more time thinking about the subject again. We know that X is better. We can move on. It’s very pleasing to us.

Even though Apple’s message was clearer than ever this year, I still feel like you could replace that “is” at the start of the second line with “will be” or “might be”, though. 😅 Again, I don’t want to criticise this slide. It’s good to have a crystal clear message like this in a high-level session like the SotU.

So when I was reading Becky Hansmeyer’s recap of WWDC this week, the quote from Taylor Kelly that she pulled from the SwiftUI digital lounge was so refreshing to read:

Across all platforms, we’d recommend comparing your needs to what SwiftUI provides (so no hard rules/recommendations) — and keeping in mind that you can adopt SwiftUI incrementally.

Within Apple’s own apps on macOS, we’re ourselves using the full spectrum of approaches. From just a specific view/views in an app, e.g. in Mail, iWork, Keychain Access; to an entire portion of the UI or a new feature, e.g. in Notes, Photos, Xcode; and all the way to the majority of an application, e.g. Control Center, Font Book, System Settings.

But in the end, I’d recommend starting with a part you’re comfortable with and building up from there! You should look at SwiftUI as another tool in your toolset in enabling you to build the best apps you can.

First of all, what a lovely, genuine, honest answer. It’s not written for the press, and while I’m sure Taylor knew that what he wrote there was effectively public, I’m sure he’ll be surprised to see Becky quote it and me repeat it.

It’s worth repeating, though, because it concisely sums up not only the situation with SwiftUI but the situation with any tech both now and in the future. I’ve repeatedly written my thoughts on “purity” in technology, which is closely related.

I’m not waiting or even hoping for a “clean slate” where the answer is as simple as the SotU slide makes it seem, and I’m happier for it.

Dave Verwer

 
 

  Sponsored Link  

 

Your favorite apps are shipped with Runway

Top mobile teams are using Runway to offload manual busywork and get back to building great apps. From kickoff, to submission, to release, Runway enables effortless coordination and collaboration across your teams and tools. Get started for free today!

runway.team

 
 
 

  News  

 

Announcing the Swift Language Workgroup

Who had “big changes to how the Swift language is managed” on their post-conference bingo card? 🤷‍♂️

Previously, the Swift language was largely guided by the core team and evolution process. This announcement adds a new Language Workgroup that will take primary responsibility for overseeing language development, letting the core team focus on oversight and direction of the language. Some people are switching from the core team to the language workgroup, and there are several new (and well-deserved) additions to both teams! I can’t summarise everything here, so please read the post!

swift.org

 

App transfer and iCloud

Is this the shortest announcement for the change with the most significant impact since app transfers became possible? I’ve heard speculation about why this rule existed over the years, from being privacy-related to being a technical challenge. We’ll never know what it was, but I’m glad it’s now possible! 🚀

apple.com

 
 

  Tools  

 

Swift Package Plugins and Xcode 14

I wasn't expecting Apple to turn around and pick up where source editor extensions in Xcode 8 left off, but in a roundabout way, package plugins mean they have! You can run a plugin through Xcode in a Package.swift-based project, of course, but did you know that you could also run it on an Xcode project with a little tweak? Marco Eidinger explains.

eidinger.info

 

Haptics Studio

I’m linking to this app from Daniel Ramteke for several reasons. First, it’s an excellent (and free) way to play with the various haptic parameters to get precisely the desired effect. Secondly, Daniel streamed the entire development of this app on his Twitch channel and uploaded all 13 session recordings to YouTube.

apple.com

 
 

  Code  

 

SwiftUI Digital Lounge archive

The digital lounges were great again this year, but they are temporary. I understand that this format is still relatively new to Apple. Still, I wish there was a better way to preserve the valuable knowledge from those lounges without someone having to copy and paste every … single … question … and … answer. 😅 Please send Bardi Golriz your thanks for taking the time to archive and categorise the SwiftUI lounge questions and answers.

notion.site

 

NavigationBackport

It happens every year, regular as clockwork. A new API that requires the latest operating systems arrives, and someone puts together a backport for older operating system versions so everyone can use it. This package from John Patrick Morgan isn’t finished, and I’m sure John would agree with me that if you use a backport like this, extensive testing on older operating system versions becomes critical, but it’s worth checking out.

While we’re on the subject, you might also want to check out John’s previous navigation package for SwiftUI, FlowStacks. 🥞

swiftpackageindex.com

 

Use SwiftUI views as points in scatter plot

Matthaus Woolard has been doing a great job writing about the new Swift Charts framework. I loved this post on using arbitrary views instead of plain old dots, but he also wrote a great introduction to the framework and described how to create a Ridgeline plot.

nilcoalescing.com

 

Understanding the some keyword and generic protocols

This post from Natascha Fadeeva is the clearest, most concise explanation of generic protocols and the new some keyword that you'll find. 🚀

tanaschita.com

 
 

  Videos  

 

The Layout Protocol

A new layout system in SwiftUI? I’d be curious to hear what Chris Eidhof and Florian Kugler have to say about that! What’s that? There’s a free 20-minute video on the topic available on their Swift Talk site? That’s handy! 🥰

objc.io

 
 

  And finally...  

 

Have you seen the leaked slide from WWDC '23 that shows off the next Apple silicon chip? 😂

 
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
 
 

 
 
©2022 iOS Dev Weekly | Privacy Policy | Twitter | Suggest a Link
 
Published with Curated

Older messages

iOS Dev Weekly - Issue 562

Friday, June 10, 2022

So many announcements and new APIs, and all we can talk about is regular expressions? 😂 View on the Web Archives ISSUE 562 June 10th 2022 Comment So, I successfully predicted this wasn't the big AR

iOS Dev Weekly - Issue 561

Saturday, June 4, 2022

There's just one more thing I need to mention before WWDC! A quick feature announcement for the Swift Package Index! 🚀 View on the Web Archives ISSUE 561 June 3rd 2022 Comment Coming up with ideas

iOS Dev Weekly - Issue 560

Friday, May 27, 2022

Don't want to write your own back-end server? Should you choose something from a big company, or use Parse… Wait. What? 🤯 View on the Web Archives ISSUE 560 May 27th 2022 Comment Do you remember

iOS Dev Weekly - Issue 559

Friday, May 20, 2022

How will apps work in an AR-powered operating system? 🥽 View on the Web Archives ISSUE 559 May 20th 2022 Comment Did you see Apple announce door detection and other iOS 16 feature previews for Global

iOS Dev Weekly - Issue 558

Friday, May 13, 2022

What was your first Apple product? There's a fair chance it was the same as mine… 🎧 View on the Web Archives ISSUE 558 May 13th 2022 Comment I want to start this week with the story of the first

You Might Also Like

Data Science Weekly - Issue 545

Friday, May 3, 2024

Curated news, articles and jobs related to Data Science, AI, & Machine Learning ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

When accelerator dreams become company nightmares

Thursday, May 2, 2024

Plus: Illinois gives Rivian incentives and AI is not SaaS View this email online in your browser By Christine Hall Thursday, May 2, 2024 Hello, and welcome back to TechCrunch PM. We have a great lineup

📱 Issue 409 - Claude Team plan and iOS app

Thursday, May 2, 2024

This week's Awesome iOS Weekly Read this email on the Web The Awesome iOS Weekly Issue » 409 Release Date May 02, 2024 Your weekly report of the most popular iOS news, articles and projects Popular

💻 Issue 415 - Hotel WiFi JavaScript Injection (2012)

Thursday, May 2, 2024

This week's Awesome JavaScript Weekly Read this email on the Web The Awesome JavaScript Weekly Issue » 415 Release Date May 02, 2024 Your weekly report of the most popular JavaScript news, articles

💎 Issue 415 - Choosing the Right Audit Trail Approach in Ruby

Thursday, May 2, 2024

This week's Awesome Ruby Newsletter Read this email on the Web The Awesome Ruby Newsletter Issue » 415 Release Date May 02, 2024 Your weekly report of the most popular Ruby news, articles and

💻 Issue 408 - Speeding up C++ build times

Thursday, May 2, 2024

This week's Awesome .NET Weekly Read this email on the Web The Awesome .NET Weekly Issue » 408 Release Date May 02, 2024 Your weekly report of the most popular .NET news, articles and projects

💻 Issue 415 - Ditch dotenv: Node.js Now Natively Supports .env File Loading

Thursday, May 2, 2024

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

💻 Issue 333 - React 19 Beta

Thursday, May 2, 2024

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

📱 Issue 412 - The Composable Architecture: My 3 Year Experience

Thursday, May 2, 2024

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

💻 Issue 410 - Lessons learned after 3 years of fulltime Rust game development, and why we're leaving Rust behind

Thursday, May 2, 2024

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