iOS Dev Weekly - iOS Dev Weekly - Issue 655

I saw a striking reminder of progress in the latest official Swift tutorials 😱
 

iOS Dev Weekly

 
View on the Web    Archives

ISSUE 655  April 5th 2024

 
Comment

  Comment  

 

Did you see the new Swift tutorials Apple released this week? It’s great to see more official tutorials appear, especially ones like these that target people brand new to programming, but as I was browsing the first tutorial it struck me what an amazing first introduction to programming this would be. The code in the tutorial was so clear and readable, and unlike Swift Playgrounds (which is great in its own way) these tutorials have you building an iOS app within minutes of opening the first tutorial. That's incredible.

Before Swift arrived, I used to teach in-person training courses covering Objective-C and UIKit development. But even requiring a pre-requisite of being comfortable with developing in any other programming language, the first day of the course was learning Objective-C. There was just too much legacy knowledge from C needed to tackle it at the same time as dropping a firehose of UIKit on people. It all falls apart so quickly when you need to stop teaching UIKit to explain what an NSNumber is and why you need a pointer to one so you can wrap an int up before passing it to an API.

But look at that last screen of code from this tutorial. It's so readable. That's not just because of SwiftUI, it's even just Swift, that's years of progress and centuries of person-hours that have gone into taking us from needing a very dry day (or more!) of learning about pointers and why NSNumber is even a thing ten years ago, to this today. 🤯

Like many of you, I also have concerns about how complex Swift has become over the years, but there is none of that in sight when you start out. It was a lovely reminder that the complexities of worrying about strict concurrency warnings, typed throws, and non-copyable generics is not what people are faced with as they first approach the language and I'd like to take a moment to congratulate everyone involved with the last decade or more of progress that made this tutorial possible. I've not seen it in quite such a striking way as this before.

Dave Verwer  Permalink

 
 

  Sponsored Link  

 

50+ CI/CD Workflow Recipes for Peak Performance

Explore Bitrise's curated workflow recipes, designed to speed up your mobile projects and improve performance. Download now.

bitrise.io  Permalink

 
 
 

  News  

 

Embedded Swift on ARM and RISC-V Microcontrollers

Work on embedded Swift has been progressing for quite some time now, but you might be surprised at the range of very tiny devices it now runs on. I had only heard of the Raspberry Pi Pico from this list, but there are many more. Kuba Mracek fills us in on where things are and introduces the new embedded examples source code repository!

swift.org  Permalink

 
 

  Tools  

 

Xcode Bookmarks

I've written before about my struggles getting into the habit of using the new Xcode bookmarks feature, but this article from Keith Harrison made me think about them differently. Not as something you'd set up while working on a single feature or bug fix, but as a more permanent guide to the interesting and commonly visited pieces of a codebase. It's time to give them another try!

useyourloaf.com  Permalink

 
 

  Code  

 

Quick and Painless Persistency on iOS

SwiftData is significantly easier to adopt and use than Core Data, but I’m still a fan of considering other options for small amounts of data storage before reaching for something that complex. Jordan Morgan goes through a greatest hits of all the methods that are worth considering before breaking out a database or ORM.

swiftjectivec.com  Permalink

 

In Search of a Smooth Scroll

I love this post from Edvinas Byla on dropping back to AppKit to polish up an area of his app. You should read the whole piece, but make sure to read the conclusion as I've not seen a fairer examination of the SwiftUI vs AppKit/UIKit debate yet. He nailed it. 👍

byla.lt  Permalink

 

App Store Subscriptions and Family Sharing

If you used Apple’s sample code for StoreKit, you might also have the bug in your subscription code that Craig Hockenberry talks about in this post:

That code will work fine until you encounter a customer that has Family Sharing enabled, as most do. The issue is that the Product.SubscriptionInfo can contain multiple items, and the code above only checks the first one.

It might be worth checking!

furbo.org  Permalink

 

How to avoid using AnyView in SwiftUI

The title of Natascha Fadeeva's post says it all. She goes through three ways to avoid falling back to AnyView in this post. 👍

tanaschita.com  Permalink

 
 

  Videos  

 

Apple Developer channel on YouTube

What’s that? Is it a new Apple Developer YouTube channel a couple of months before this year’s conference with a load of WWDC 2023 videos already uploaded? I wonder if we’ll see quick uploads of this year’s session videos or even simultaneous distribution alongside the official site?

youtube.com  Permalink

 
 

  Jobs  

 

Senior iOS Engineer - Voloco @ Resonant Cavity – Voloco is the best mobile recording studio in the world! Small profitable company with an Engineering driven culture. We ship with minimal process and meetings. You’ll work closely with the founders, who still regularly commit code. – Remote (Anywhere) with some on-site work (United States in CA or MN)

 Permalink

 

Don't forget to post any open positions you have available on iOS Dev Jobs!

 Permalink

 
 

  And finally...  

 

and beyond!

 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 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

iOS Dev Weekly - Issue 653

Friday, March 22, 2024

We stand on the shoulders of so many giants that it's hard to see beneath the clouds! ☁️ View on the Web Archives ISSUE 653 March 22nd 2024 Comment Watching this video from Daniel Leivers

iOS Dev Weekly - Issue 652

Friday, March 15, 2024

We all make mistakes, but I just show 50000 people my mistakes 🫣 View on the Web Archives ISSUE 652 March 15th 2024 Comment I received two types of emails in response to last week's introductory

iOS Dev Weekly - Issue 651

Friday, March 8, 2024

How do you make a software developer deeply suspicious? Have them turn on a feature they expect to show errors but produce none! 😂 View on the Web Archives ISSUE 651 March 8th 2024 Comment Swift 5.10

iOS Dev Weekly - Issue 650

Friday, March 1, 2024

Tell me again about your new app idea… 😴 What's that? Sorry, I dropped off for a second 💤 View on the Web Archives ISSUE 650 March 1st 2024 Comment People often ask me about a new app idea they

You Might Also Like

💻 Issue 444 - JavaScript Dos and Donts

Thursday, November 21, 2024

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

📱 Issue 438 - Reverse Engineering iOS 18 Inactivity Reboot

Thursday, November 21, 2024

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

💻 Issue 362 - React Anti-Pattern: Stop Passing Setters Down the Components Tree

Thursday, November 21, 2024

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

💻 Issue 444 - Building simple event-driven applications with Pub/Sub

Thursday, November 21, 2024

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

📱 Issue 441 - Shift Left Is the Tip of the Iceberg

Thursday, November 21, 2024

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

💻 Issue 439 - Async/Await Is Real And Can Hurt You

Thursday, November 21, 2024

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

📲 Why I Ditched Linux for Samsung DeX — Buy This Instead of a Gaming Headset

Thursday, November 21, 2024

Also: Taking Instagram Stories to the Next Level, and More! How-To Geek Logo November 21, 2024 Did You Know Thurl Ravenscroft was both the voice behind the Christmas song "You're a Mean One,

Ranked | The World's 30 Largest Exporters 🌎

Thursday, November 21, 2024

We show the largest exporters in the world amid a surge in trade restrictions, rising populism, and shipping route disruptions. View Online | Subscribe | Download Our App 5 DAYS LEFT! Learn Visual

AI-Heavy VS 2022 v17.12 Ships, 'Guided Chat' for Copilot, Uno Platform's 'Hot Design' Tool, More

Thursday, November 21, 2024

Home | News | How To | Webcasts | Whitepapers | Advertise .NET Insight November 21, 2024 THIS ISSUE SPONSORED BY: ■ Build .NET Applications with Powerful Reporting ■ dtSearch® - INSTANTLY SEARCH

Help create something special

Thursday, November 21, 2024

Hi there, As a product person myself, I know how crucial it is to empathize with those we serve. And we'll continue, after having joined forces with Pendo and Mind the Product, to make it a number