iOS Dev Weekly - iOS Dev Weekly - Issue 456

What's new in Swift 5.3? Many things, but the most exciting is resource support in the SPM! 🚀
 

iOS Dev Weekly

 
  

ISSUE 456  May 15th 2020

 
Comment

  Comment  

 

The least surprising announcement at this year's WWDC will be¹ that Xcode 12 will include Swift 5.3. 🤯 So to warm-up for next month's flood of news, why not read Tibor Bödecs' guide to what’s new in Swift 5.3? It's an excellent summary.

In my opinion, the most exciting part of 5.3 is that the Swift Package Manager will finally gain support for bundled resources. I was quite surprised to see the community survey show people using it in ~35% of personal projects, and ~18% of commercial apps. Much higher figures than I was expecting!

That said, it feels like binary resource support might be the last major feature needed for most libraries to support the SPM. I'm guessing, though! So, would you like to tell me what is holding you back from adopting SPM as your dependency manager? (Yes, that’s a quick survey, but it’s only one question long!) I’ll publish a write up of the results next week.

Dave Verwer

 

1: Technically, I don’t know that this will be an announcement, but would anyone bet against it? 😂

Dave Verwer

 
 

  Sponsored Link  

 

Find An iOS Dev Job Through Vettery

Vettery specializes in developer roles and is completely free for job seekers. Interested? Submit your profile, and if accepted, you can receive interview requests directly from top companies growing their mobile dev teams. Get Started.

vettery.com

 
 
 

  Tools  

 

Everything wrong with XCFrameworks

I hadn't thought much about XCFrameworks since their debut last year, mainly because I don't think anyone has talked much about them! Why? Kamil Pyc lists some of the issues with using them, and hopes for some fixes in a few weeks.

github.io

 
 

  Code  

 

Building an adaptive button

I linked to several posts from Jeff Watkins on leveraging UIButton rather than replacing it last month. So is this post more on the same subject? Kind of, but he does run out of steam with UIKit's button class in this post. I do like that he says this though:

There’s still no excuse for using UITapGestureRecognizer to solve this problem.

It's worth a read.

jeffwatkins.dev

 

Propagating user-facing errors in Swift

It's always easy to overlook error handling, especially if you're writing blog posts or sample code. For example, The Core Data template code Xcode generates has this to say on the subject. 😂 It's understandable of course, handling errors isn't trivial, and if every sample code project included thorough error reporting, it'd detract from what samples were demonstrating. It did make me very happy to see John Sundell tackle the subject this week though. It's something we should talk about more.

swiftbysundell.com

 

Using Combine to simulate async / await

Like Bill Atkins, I too am keen to see Swift get support for async/await style concurrency. I did like this article in which he argues that with Combine, Swift already has what Chris proposed. I'd still like to see the language take on this challenge in the future, but before that happens, Combine can help you tame concurrency.

wordpress.com

 

UI Testing iOS application with EarlGrey

I had heard of EarlGrey before, but I hadn't seen anyone write about it until now. Here's Maksym Shcheglov with a rundown of how its approach differs from XCUITest and some example tests.

onswiftwings.com

 
 

  Design  

 

The ideal first-run experience is no first-run experience

As always, Brent Simmons is speaking sense here. I'm not sure I'd ever give up on an app purely because of a bad first-run experience, but every walkthrough and forced login prompt negatively affects my attitude towards an app. I also spoke on this subject recently (at 9m14s if you want to skip to the exact bit!) if you want my full take on it.

inessential.com

 

Writing Great iOS Accessibility Labels

Writing is an undervalued skill in UI design, and if you think it's hard to get people to care about the words in visible UI, imagine how hard it is to get them to care about invisible words. Rob Whitaker has some great advice on how to write great accessibility labels.

mobilea11y.com

 
 

  Books  

 

The Big Nerd Ranch Guide to iOS Programming – 7th Edition

It says something when a book gets to a 7th edition, and that's exactly what has happened here with the spiritual successor (of sorts) to the book I used to learn Apple platform development. It may not cover the very latest technologies, but I'm confident that if you read it, you'll know how to write good quality UIKit apps.

bignerdranch.com

 
 

  Jobs  

 

iOS Engineer @ Karbon – Join our dedicated, all-remote agency and help us build amazing iOS apps for amazing clients. We've spent the past 10 years helping companies ship apps to millions of users—join us as we focus on the next 10 years. – Remote, or Portland OR

 

Are you looking for a new challenge? There's plenty of other jobs listed over at iOS Dev Jobs. Sign up and get one email a week, every Monday, full of new opportunities.

 
 

  And finally...  

 

What does the NS in NSObject stand for? I thought I knew, but I was wrong...

What does it really stand for? 🤯

 
You received this email because you subscribed via the iOS Dev Weekly site.
We’ll be sorry to see you go but you can .
 
Shiny Development Ltd. Daresbury Innovation Centre Keckwick Lane Daresbury Cheshire WA4 4FS United Kingdom
 
 

 
 
©2020 iOS Dev Weekly | Privacy Policy | Twitter | iOS Dev Directory | Submit a link
 
Published with Curated

Older messages

iOS Dev Weekly - Issue 453

Friday, April 24, 2020

How is Swift on the server doing? Find out with some analysis of the iOS Developer Community survey. 🚀 View on the web Archives ISSUE 453 April 24th 2020 Comment I've been poking around the results

iOS Dev Weekly - Issue 452

Friday, April 17, 2020

Will WWDC re-invent online conferences? Probably not, but the community might! 🤩 View on the web Archives ISSUE 452 April 17th 2020 Comment The remainder of this year is all about online events that

iOS Dev Weekly - Issue 451

Saturday, April 11, 2020

Will Apple experiment with pricing models on the App Store? Probably not, but we can live in hope! 🤞 View on the web Archives ISSUE 451 April 10th 2020 Comment I received a few emails after my comments

You Might Also Like

Healthy life, Meta's AI and legibility

Saturday, January 11, 2025

Neologism #25, 11.01.2024 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Daily Coding Problem: Problem #1665 [Medium]

Saturday, January 11, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by LinkedIn. A wall consists of several rows of bricks of various integer lengths and

📊 Every Smartphone I've Ever Owned, Ranked — This Tiny Smart Remote Is the Most Exciting Thing at CES

Saturday, January 11, 2025

Also: 5 Android Notification Features to Make Your Day Easier, and More! How-To Geek Logo January 11, 2025 Did You Know On March 12, 1951, a curious thing happened. In the United States and the United

Ranked | The Top Grossing Movies Worldwide in 2024 🎬

Saturday, January 11, 2025

Established IP dominated the 2024 box office, with top films mostly being sequels, spin-offs, or franchise continuations. View Online | Subscribe | Download Our App FEATURED STORY Ranked: Top Grossing

📖 Your Step-by-Step Guide to Securing AI in the Enterprise

Saturday, January 11, 2025

January 11, 2025 | Read Online Subscribe | Advertise Good Morning. Welcome to this special edition of The Deep View, brought to you in collaboration with Tines. When it comes to adopting AI securely,

🐍 New Python tutorials on Real Python

Saturday, January 11, 2025

Hey there, There's always something going on over at Real Python as far as Python tutorials go. Here's what you may have missed this past week: Iterators and Iterables in Python: Run Efficient

Life Update: Me. In Shorts. In Antarctica [Pics Inside 🧊]

Saturday, January 11, 2025

And yes, I jumped in. It taught me a lot 😅 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Google Researcher Uncovers Zero-Click Exploit Targeting Android Devices

Saturday, January 11, 2025

THN Daily Updates Newsletter cover The Kubernetes Book: Navigate the world of Kubernetes with expertise , Second Edition ($39.99 Value) FREE for a Limited Time Containers transformed how we package and

📧 Working with LLMs in .NET using Microsoft.Extensions.AI

Saturday, January 11, 2025

​ Working with LLMs in .NET using Microsoft․Extensions․AI Read on: m​y website / Read time: 6 minutes The .NET Weekly is brought to you by: ​Transform your database performance with RavenDB​:

iOS Dev Weekly – Issue 694

Friday, January 10, 2025

Hopefully you won't see that much difference with receiving this issue, but it's ALL CHANGED behind the scenes! 😱 ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌