Swift by Sundell - Swift by Sundell Newsletter #28

View this email in your browser
The Swift by Sundell Newsletter
Issue #28 - December 2020

šŸ‘‹ Hi everyone

A few weeks ago, I announced that my upcoming 200th weekly article will be my last, but of course that doesnā€™t mean that Iā€™ll stop writing articles completely. Quite the opposite, really.

While Iā€™ll soon share more details around how Swift by Sundell will evolve once I hit that 200 mark, and what my overall plans for 2021 are, I just wanted to assure you all that my commitment to sharing my work with the Swift community is as strong as it has ever been.

Basically, as long as you keep reading, listening, sharing and occasionally checking out my sponsors, then Iā€™ll keep writing and podcasting. But I think itā€™s important to mix things up every once in a while, and after writing weekly articles non-stop since the beginning of 2017, I feel like 200 is a nice number to wrap up that particular series on.

But now, letā€™s get started with the recap of Novemberā€™s articles and podcast episodes. And like always, if youā€™d like to send me any questions, comments or feedback, then just hit the reply button. I read every single email that I get through this address.

 

šŸ“– Weekly articles

For 198 weeks, Iā€™ve been publishing a new article about Swift every Sunday. These articles were added during the past month:

 

Formatting numbers in Swift

Formatting numbers into human-readable strings can often be tricker than expected. Letā€™s explore why that is, and what kind of tools and techniques that can be good to keep in mind when formatting different kinds of numbers.

 

SwiftUI and UIKit interoperability - Part 1

A closer look at how SwiftUI and UIKit can be combined in various ways, starting with how we can bring increasingly complex UIKit-based views and view controllers into the declarative world of SwiftUI.

 

SwiftUI and UIKit interoperability - Part 2

In this second article about integrating SwiftUI and UIKit, weā€™ll take a look at how SwiftUI views can be embedded within UIKit-based view controllers, and various ways of sharing state between them.

 

Extending Combine with convenience APIs

How custom Combine operators and convenience APIs can be implemented using extensions, and how doing so can let us eliminate common sources of boilerplate when implementing things like networking and data validation.

 

Sorting Swift collections

A look at the various sorting APIs that the Swift standard library offers, and how we could augment those APIs in order to make more advanced sorting tasks easier to perform.

 

šŸŽ§ Podcast episodes

The Swift by Sundell podcast is a bi-weekly show featuring special guests from all around the Swift community. You can find it in your podcast player of choice, for example Apple Podcasts or Overcast. These episodes were published during the past month:

 

85: ā€œCross-Apple platform developmentā€, with James Thomson

James Thomson, creator of PCalc, returned to the show to discuss how developers can bring their apps to multiple Apple platforms using technologies like Catalyst and SwiftUI, and how and when it can be a good idea to share code across platforms.

 

86: ā€œMap is a design patternā€, with Daniel Steinberg

Daniel Steinberg joined me to discuss how various functional programming patterns can be adopted in Swift, and how many of those patterns can be found in both the standard library and in frameworks like Combine and SwiftUI.

 

ā­ļø Swift tips

I love to share shorter tips, tricks and techniques with the community. These are the tips that I shared during the past month:

 

Creating custom SwiftUI container views

Although SwiftUI ships with a quite large number of built-in container views, such as VStack, HStack and List, sometimes we might also want to define our own custom containers as well. Here are some tips on how to do that.

 

Statically computed default property values

Various ways of defining default property values, and how static methods and properties can be really useful in that context.

 

šŸ§­ New discover page

Swift by Sundell Discover is a new feature that lets you easily explore everything that the site has to offer on a given topic. This topic was added during the past month:

 

Unit testing

Discover a wide range of tools, tips and techniques for building comprehensive, fast and stable unit testing suites using XCTest and Swift.

 

šŸ˜Š Until next time

Thatā€™s it for this edition! I hope you enjoyed this newsletter. I always love to hear your feedback, so feel free to either reply to this email, or contact me on Twitter @johnsundell. I read every single piece of feedback that I get, and I try to reply to as many people as I possibly can.

Thanks for reading! šŸš€

- John

Copyright Ā© 2020 John Sundell, All rights reserved.
You are receiving this email because you signed up for the Swift by Sundell Newsletter at swiftbysundell.com/newsletter.

Our mailing address is:
John Sundell
Wadowicka 6B/4 SKR 002 A4
KrakĆ³w 30-415
Poland

Add us to your address book


Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list.

Email Marketing Powered by Mailchimp

Older messages

Swift by Sundell Newsletter #27

Sunday, November 1, 2020

Your summary of everything new on Swift by Sundell - all articles, podcast episodes and tips published during October 2020. View this email in your browser Issue #27 - November 2020 👋 Hi everyone Swift

Swift by Sundell Newsletter #26

Thursday, October 1, 2020

Your summary of everything new on Swift by Sundell - all articles, podcast episodes and tips published during September 2020. View this email in your browser Issue #26 - October 2020 👋 Hi everyone Even

Swift by Sundell Newsletter #25

Friday, September 4, 2020

Your summary of everything new on Swift by Sundell - all articles, podcast episodes, answers and tips published during August 2020. View this email in your browser Issue #25 - September 2020 👋 Hi

Swift by Sundell Newsletter #24

Saturday, August 1, 2020

Your summary of everything new on Swift by Sundell - all articles, podcast episodes, answers and tips published during July 2020. View this email in your browser Issue #24 - August 2020 👋 Hi everyone

Swift by Sundell Newsletter #23

Wednesday, July 1, 2020

Your summary of everything new on Swift by Sundell - all articles, podcast episodes and tips published during June 2020. View this email in your browser Issue #23 - July 2020 👋 Hi everyone Wow, what a

You Might Also Like

📧 Building Async APIs in ASP.NET Core - The Right Way

Saturday, November 23, 2024

​ Building Async APIs in ASP .NET Core - The Right Way Read on: m​y website / Read time: 5 minutes The .NET Weekly is brought to you by: Even the smartest AI in the world won't save you from a

WebAIM November 2024 Newsletter

Friday, November 22, 2024

WebAIM November 2024 Newsletter Read this newsletter online at https://webaim.org/newsletter/2024/november Features Using Severity Ratings to Prioritize Web Accessibility Remediation When it comes to

➡️ Why Your Phone Doesn't Want You to Sideload Apps — Setting the Default Gateway in Linux

Friday, November 22, 2024

Also: Hey Apple, It's Time to Upgrade the Macs Storage, and More! How-To Geek Logo November 22, 2024 Did You Know Fantasy author JRR Tolkien is credited with inventing the main concept of orcs and

JSK Daily for Nov 22, 2024

Friday, November 22, 2024

JSK Daily for Nov 22, 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

Spyglass Dispatch: The Fate of Chrome • Amazon Tops Up Anthropic • Pros Quit Xitter • Brave Powers AI Search • Apple's Lazy AI River • RIP Enrique Allen

Friday, November 22, 2024

The Fate of Chrome • Amazon Tops Up Anthropic • Pros Quit Xitter • Brave Powers AI Search • Apple's Lazy AI River • RIP Enrique Allen The Spyglass Dispatch is a free newsletter sent out daily on

Charted | How the Global Distribution of Wealth Has Changed (2000-2023) 💰

Friday, November 22, 2024

This graphic illustrates the shifts in global wealth distribution between 2000 and 2023. View Online | Subscribe | Download Our App Presented by: MSCI >> Get the Free Investor Guide Now FEATURED

Daily Coding Problem: Problem #1616 [Easy]

Friday, November 22, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Alibaba. Given an even number (greater than 2), return two prime numbers whose sum will

The problem to solve

Friday, November 22, 2024

​ Use problem framing to define the problem to solve This week, Tom Parson and Krishna Raha share tools and frameworks to identify and address challenges effectively, while Voltage Control highlights

Issue #568: Random mazes, train clock, and ReKill

Friday, November 22, 2024

View this email in your browser Issue #568 - November 22nd 2024 Weekly newsletter about Web Game Development. If you have anything you want to share with our community please let me know by replying to

Whats Next for AI: Interpreting Anthropic CEOs Vision

Friday, November 22, 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 22, 2024? The HackerNoon