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

🎮 5 Cheap Apple AirPlay Receiver Alternatives — Your Game Controllers Need Firmware Updates Too

Tuesday, January 7, 2025

Also: The Best Free Offline Music Player Apps For Android How-To Geek Logo January 7, 2025 Did You Know It's a common practice in Japan to package toys with a single cheap piece of candy in order

Daily Coding Problem: Problem #1661 [Medium]

Tuesday, January 7, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Triplebyte. Implement a data structure which carries out the following operations

DRF, Temp Files, Dataclasses, and More

Tuesday, January 7, 2025

Building HTTP APIs With Django REST Framework #663 – JANUARY 7, 2025 VIEW IN BROWSER The PyCoder's Weekly Logo Building HTTP APIs With Django REST Framework This course will get you ready to build

Charted | The Pyramid of S&P 500 Returns (1874-2024) 💰

Tuesday, January 7, 2025

In 2024, the S&P 500 surged 23%, setting a series of record highs. We show these returns in a historical context spanning 150 years. View Online | Subscribe | Download Our App Presented by: Global

LW 164 - How to create new arrivals collection in Shopify using Shopify Flow    

Tuesday, January 7, 2025

How to create new arrivals collection in Shopify using Shopify Flow ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ Shopify Development news and

Tic-Tac-D’Oh 💻

Tuesday, January 7, 2025

The latest from the dull side of the internet. Here's a version for your browser. Hunting for the end of the long tail • January 07, 2025 Tic-Tac-D'Oh Dell decides to rebrand its machines along

Spyglass Dispatch: CaptAIn AmerIca...

Tuesday, January 7, 2025

Hulu, Fubo, Venu • NVIDIA's Cosmos • NVIDIA's DIGITS • Meta's Board Addition • Meta's Fact-Checking Subtraction • Dude, You're Getting a Dell Pro Max Premium The Spyglass Dispatch

DeveloPassion's Newsletter #183 - Knowledge Management for All

Tuesday, January 7, 2025

A newsletter discussing Knowledge Management, Knowledge Work, Zen Productivity, Personal Organization, and more! Sébastien Dubois DeveloPassion's Newsletter DeveloPassion's Newsletter #183 -

CES 2025 ICYMI: 8 top reveals so far

Tuesday, January 7, 2025

Bluesky's most-needed feature; A mulching robot mower; Linux man pages -- ZDNET ZDNET Tech Today - US January 7, 2025 ces55gettyimages-2191705850 CES 2025: ZDNET's 8 most impressive products we

Post from Syncfusion Blogs on 01/07/2025

Tuesday, January 7, 2025

New blogs from Syncfusion Introducing the New Blazor Chat UI Component By Silambarasan Ilango Enhance real-time communication with the Blazor Chat UI. Discover its features and use cases for creating