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

What Investors Want From AI Startups in 2025

Monday, November 25, 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 25, 2024? The HackerNoon

GCP Newsletter #426

Monday, November 25, 2024

Welcome to issue #426 November 25th, 2024 News LLM Official Blog Vertex AI Announcing Mistral AI's Large-Instruct-2411 on Vertex AI - Google Cloud has announced the availability of Mistral AI's

⏳ 36 Hours Left: Help Get "The Art of Data" Across the Finish Line 🏁

Monday, November 25, 2024

Visual Capitalist plans to unveal its secrets behind data storytelling, but only if the book hits its minimum funding goal. View Online | Subscribe | Download Our App We Need Your Help Only 36 Hours

DeveloPassion's Newsletter #180 - Black Friday Week

Monday, November 25, 2024

Edition 180 of my newsletter, discussing Knowledge Management, Knowledge Work, Zen Productivity, Personal Organization, and more! Sébastien Dubois DeveloPassion's Newsletter DeveloPassion's

Meet HackerNoon's Latest Features: Boost Stories with Translations, Speech-to-Text & More

Monday, November 25, 2024

Hey, Hacker! HackerNoon's monthly product update is here! Get ready for a new version of the mobile app, more translation developments, a new AI Gallery, backend moves, and more! 🚀 This product

The ultimate holiday gadget gift

Monday, November 25, 2024

AI isn't hitting a wall; $70 off Apple Watch; 60+ Amazon deals -- ZDNET ZDNET Tech Today - US November 25, 2024 Meta Quest 3S Why the Meta Quest 3S is the ultimate 2024 holiday present This $299

Deduplication in Distributed Systems: Myths, Realities, and Practical Solutions

Monday, November 25, 2024

This week, we'll discuss the deduplication strategies. We'll see whether they're useful and consider scenarios where you may need them. We'll also do a reality check with the promises

How to know if your data has been exposed

Monday, November 25, 2024

How do you know if your personal data has been leaked? Imagine getting an instant notification if your SSN, credit card, or password has been exposed on the dark web — so you can take action

⚙️ Amazon and Anthropic

Monday, November 25, 2024

Plus: The hidden market of body-centric data ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

⚡ THN Recap: Top Cybersecurity Threats, Tools & Tips (Nov 18-24)

Monday, November 25, 2024

Don't miss the vital updates you need to stay secure. Read the full recap now. The Hacker News THN Recap: Top Cybersecurity Threats, Tools, and Practices (Nov 18 - Nov 24) We hear terms like “state