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

Retro Recomendo: Gift Ideas

Sunday, November 24, 2024

Recomendo - issue #438 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Kotlin Weekly #434

Sunday, November 24, 2024

ISSUE #434 24th of November 2024 Hi Kotliners! Next week is the last one to send a paper proposal for the KotlinConf. We hope to see you there next year. Announcements State of Kotlin Scripting 2024

Weekend Reading — More time to write

Sunday, November 24, 2024

More Time to Write A fully functional clock that ticks backwards, giving you more time to write. Tech Stuff Martijn Faassen (FWIW I don't know how to use any debugger other than console.log) People

🕹️ Retro Consoles Worth Collecting While You Still Can — Is Last Year's Flagship Phone Worth Your Money?

Saturday, November 23, 2024

Also: Best Outdoor Smart Plugs, and More! How-To Geek Logo November 23, 2024 Did You Know After the "flair" that servers wore—buttons and other adornments—was made the butt of a joke in the

JSK Daily for Nov 23, 2024

Saturday, November 23, 2024

JSK Daily for Nov 23, 2024 View this email in your browser A community curated daily e-mail of JavaScript news React E-Commerce App for Digital Products: Part 4 (Creating the Home Page) This component

Not Ready For The Camera 📸

Saturday, November 23, 2024

What (and who) video-based social media leaves out. Here's a version for your browser. Hunting for the end of the long tail • November 23, 2024 Not Ready For The Camera Why hasn't video

Daily Coding Problem: Problem #1617 [Easy]

Saturday, November 23, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. You are given an string representing the initial conditions of some dominoes.

Ranked | The Tallest and Shortest Countries, by Average Height 📏

Saturday, November 23, 2024

These two maps compare the world's tallest countries, and the world's shortest countries, by average height. View Online | Subscribe | Download Our App TIME IS RUNNING OUT There's just 3

⚙️ Your own Personal AI Agent, for Everything

Saturday, November 23, 2024

November 23, 2024 | Read Online Subscribe | Advertise Good Morning. Welcome to this special edition of The Deep View, brought to you in collaboration with Convergence. Imagine if you had a digital

Educational Byte: Are Privacy Coins Like Monero and Zcash Legal?

Saturday, November 23, 2024

Top Tech Content sent at Noon! How the world collects web data Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, November 23, 2024? The HackerNoon