Swift by Sundell - Swift by Sundell Newsletter #27

View this email in your browser
The Swift by Sundell Newsletter
Issue #27 - November 2020

👋 Hi everyone

Swift by Sundell now includes over 400 freely available articles (not counting any podcast episodes or videos), which I’m incredibly proud of, but it has also resulted in a quite significant (although completely self-created) problem — it’s become increasingly difficult to get a good overview of everything that the site has to offer on a given topic.

Sure, there are category pages, a search feature, tags, and so on, but those all still require each user to actively search, browse and discover each topic on their own. So, over the past few months, I’ve been experimenting with various ways to make that process easier, and I eventually realized that the keyword that I was looking for was right there in the previous sentence — discover.

The result of all of those experiments is Swift by Sundell Discover, a brand new feature that lets you easily explore all of the articles, tips, podcast episodes and videos that I’ve published on a given topic. I picked SwiftUI as the first topic, and I’m aiming to publish another set of topics over the next few weeks.

I hope you’ll find this new feature useful, and that you’ll enjoy the rest of this month’s content, which includes 8 new articles and 2 new podcast episodes. Let’s dive in!

 

📖 Weekly articles

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

 

Testing networking logic in Swift

How networking code can be tested without needing to introduce complex abstractions within our production code, by using system-provided APIs for overriding and mocking various kinds of requests.

 

Handling loading states within SwiftUI views

A few different patterns and approaches that can be used to handle and render asynchronous loading states within SwiftUI-based views.

 

The power of extensions in Swift

An overview of the sort of patterns and techniques that Swift’s extensions enable us to adopt, and how extensions can turn out to be one of the most powerful features that the language has to offer.

 

Connecting and merging Combine publishers in Swift

How Combine’s operators for connecting and merging publishers can be used to solve real-world problems, such as nested network calls, handling multiple input sources, and more.

 

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

 

83: “Adventure into widgets”, with Simon Støvring

Simon Støvring, the developer behind several powerful iOS productivity apps, including Scriptable, joined me on this episode that’s all about the new home screen widgets introduced in iOS 14. Topics include how to create and update dynamic widgets, managing and sharing data between an app and its widgets, and much more.

 

84: “Key paths, functions and closures”, with Vincent Pradeilles

Vincent Pradeilles joined me to discuss various ways to use Swift language features like key paths and closures, how they relate to patterns typically used within functional programming, and when and how to adopt such patterns.

 

⭐️ Swift tips

I love to share shorter tips, tricks and techniques with the community. You can also find all of the tips that I’ve ever posted as mini-articles right here. These are the tips I shared during the past month:

 

Importing interactive UIKit views into SwiftUI

Importing static UIKit views into SwiftUI is often quite straightforward, but it can be somewhat trickier to bridge patterns like delegation and target/action with the declarative world of SwiftUI. So let’s take a look at how to do just that.

 

Lazy property observers

Property observers can now be attached to lazy properties, which makes it possible for us to automatically observe when a new value was assigned to a given property, even if its value is lazily loaded when first accessed.

 

Publishing constant values using Combine

Although Combine is definitely the most useful when it comes to building highly dynamic data pipelines for publishing streams of values over time, sometimes we might also want to use it to emit constant values as well. That’s what this article is all about.

 

⁉️ Questions & Answers

Answers to common questions about Swift development, or about my work in general. I answered this question during the past month:

 

When does the order of SwiftUI modifiers matter, and why?

A look at what goes on under the hood when we apply a modifier to a SwiftUI view, and why the order of certain modifiers can have a quite substantial impact on the rendered result of a given view.

 

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

Swift by Sundell Newsletter #22

Monday, June 1, 2020

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

You Might Also Like

Charted | Global Economic Confidence in 2025, by Country 🌎

Wednesday, December 25, 2024

While emerging markets in Asia have the strongest confidence in the global economy looking ahead, European countries are most pessimistic. View Online | Subscribe | Download Our App FEATURED STORY

Top Tech Deals 🎅 Sony Headphones, iPhone Cases, 4K Projector, and More!

Wednesday, December 25, 2024

The season of giving is upon us. How-To Geek Logo December 25, 2024 Top Tech Deals: Sony Headphones, iPhone Cases, 4K Projector, and More! The season of giving is upon us. Happy Holidays! If you're

Why the Race to AGI is Humanitys Defining Moment

Wednesday, December 25, 2024

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, December 25, 2024? The

Iran's Charming Kitten Deploys BellaCPP: A New C++ Variant of BellaCiao Malware

Wednesday, December 25, 2024

THN Daily Updates Newsletter cover The Data Science Handbook, 2nd Edition ($60.00 Value) FREE for a Limited Time Practical, accessible guide to becoming a data scientist, updated to include the latest

Software Testing Weekly - Issue 251

Wednesday, December 25, 2024

GitHub Copilot is free! 🤖 View on the Web Archives ISSUE 251 December 25th 2024 COMMENT Welcome to the 251st issue! In case you missed it — GitHub Copilot is free! The free version works with Visual

Daily Coding Problem: Problem #1647 [Medium]

Tuesday, December 24, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Square. In front of you is a row of N coins, with values v 1 , v 1 , ..., v n . You are

Sentiment Analysis, Topological Sort, Web Security, and More

Tuesday, December 24, 2024

Exploring Modern Sentiment Analysis Approaches in Python #661 – DECEMBER 24, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Exploring Modern Sentiment Analysis Approaches in Python What are the

🤫 Do Not Disturb Mode Is My Secret to Sanity — 8 Gadgets I Want To See Nintendo Make

Tuesday, December 24, 2024

Also: The Best Christmas Movies to Watch on Netflix, and More! How-To Geek Logo December 24, 2024 Did You Know Their association with the Christmas season might make you think poinsettias hail from a

😱 AzureEdge.net DNS Retiring Jan. 2025, 🚀 Microsoft Phi-4 AI Outperforms, 🔒 Microsoft Secure Future Initiative

Tuesday, December 24, 2024

Blog | Advertise | View Online Your trusted source for Cloud, AI and DevOps guidance with industry expert Chris Pietschmann! Phi-4: Microsoft's New Small Language Model Outperforms Giants in AI

Mapped | The Top Health Insurance Companies by State 🏥

Tuesday, December 24, 2024

In 13 US states, a single company dominates the health insurance market, holding at least half of the total market share. View Online | Subscribe | Download Our App Presented by: Global X ETFs Power