Swift by Sundell - Swift by Sundell Newsletter #23

View this email in your browser
The Swift by Sundell Newsletter
Issue #23 - July 2020

👋 Hi everyone

Wow, what a WWDC! Especially for being the first ever fully online edition of the conference, I think Apple did an amazing job. If this is what the future of WWDC will look like, even post-pandemic, then I’d honestly be really happy. As someone who has only been able to attend a single edition of the conference in person, I think this year’s new format was better in almost every single way.

I’m particularly excited about the advancements that SwiftUI has made this year, all while maintaining complete source stability with last year’s release, and I feel like the introduction of Apple Silicon and macOS Big Sur has sparked a lot of renewed excitement and interest for the Mac as a platform.

I hope you also enjoyed WWDC and all of its announcements. I’ll continue covering this year’s new APIs and features, both on Swift by Sundell, and on the Stacktrace podcast. But now, here’s your monthly recap of everything that’s new on Swift by Sundell, and a few articles from its sibling site, WWDC by Sundell & Friends.

 

📖 Weekly articles

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

 

Handling model variants in Swift

Let’s explore a few different techniques for handling dynamic, polymorphic model data, in ways that still leans into Swift’s strong emphasis on type-safety.

 

Useful APIs when writing scripts and tools in Swift

A look at a few key APIs and techniques that can be really useful when building custom developer tools, scripts, or other kinds of automation, in Swift.

 

A Swift developer’s WWDC dreams - 2020 edition

The evening before Apple’s WWDC20 keynote kicked off, I did the same thing as I did last year, and shared a few of my biggest Swift-related dreams for the conference.

 

Learning SwiftUI by building tools and prototypes

A look at one possible venue for learning and exploring SwiftUI without having to necessarily deploy it directly into production — by building internal tools and various prototypes.

 

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

 

74: “Let’s build a camera app”, with Team Lux

On this episode, I was joined by the entire team behind the award-winning apps Halide and Spectre, Apple’s 2019 App of the Year. Ben, Sebastiaan and Rebecca shared their stories of how these apps came to life, how they’re working together between design and development, and how technologies like Computational Photography and Augmented Reality are influencing their work.

 

75: “The Swift package ecosystem”, with Dave Verwer and Sven A. Schmidt

Dave Verwer and Sven A. Schmidt joined me to talk about their newly launched Swift Package Index, and what the overall state of Swift’s package ecosystem currently is. Also, dependency management, composing libraries, and learnings from deploying server-side Swift in production.

 

76: “A huge year for SwiftUI”, with Josh Shaffer and Eliza Block from Apple

On this special episode of the show, Josh Shaffer and Eliza Block from Apple joined me to talk about what’s new in SwiftUI, how Xcode Previews work under the hood, the new home screen widget system, Apple’s internal process of adopting and improving SwiftUI, and much more.

 

🎉 WWDC articles

This year, a few of my friends from around the community joined me to provide highly technical coverage of WWDC20 over on WWDC by Sundell & Friends. While I won’t list every single piece of content that we published during the week of the conference (there’s simply too much of it!), here are a few of the Swift-focused articles that I wrote about some of Apple’s key announcements:

 

How SwiftUI can now be used to build entire iOS apps

Starting this year, entire apps can now be defined directly using SwiftUI from top to bottom. Here’s a first look at how that works for iOS apps.

 

Importing Swift packages into a playground in Xcode 12

An exciting new feature in Xcode 12 is that Swift packages can now be directly imported into a playground. Here’s how to get started with that feature.

 

The UIKit views that now have built-in SwiftUI counterparts in iOS 14

A few examples of UIKit views that now have SwiftUI-native counterparts, and how those new view types could be used. Also, a first look at SwiftUI’s new lazy grids and how they offer UICollectionView-like functionality.

 

Getting started with WidgetKit

A first look at the framework that enables the new home screen widgets to be created, WidgetKit, and how to get started building a simple first version of a widget that displays dynamic content.

 

Using UICollectionView to build lists on iOS 14

Exploring some of UICollectionView’s new APIs, and how they can be used to build table view-like lists.

 

⭐️ Swift tips

Besides my full-length articles, I also love to share shorter tips, tricks and techniques with the community as well. These are the tips that I shared during the past month:

 

Annotating properties with default decoding values

How Swift’s Codable API can be made a lot more flexible, by enabling default values to be defined for certain properties using a custom property wrapper.

 

Organizing default argument values

A look at several different ways of defining default values for initializers and functions.

 

A first look at SwiftUI’s new StateObject property wrapper

How SwiftUI’s new StateObject property wrapper works, and how it compares to ObservedObject.

 

😊 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 or .

Email Marketing Powered by Mailchimp

Older messages

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

Swift by Sundell Newsletter #21

Saturday, May 2, 2020

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

You Might Also Like

Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator

Friday, February 14, 2025

What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Defining Your Paranoia Level: Navigating Change Without the Overkill

Friday, February 14, 2025

We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy

5 ways AI can help with taxes 🪄

Friday, February 14, 2025

Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help

Recurring Automations + Secret Updates

Friday, February 14, 2025

Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

The First Provable AI-Proof Game: Introducing Butterfly Wings 4

Friday, February 14, 2025

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%

GCP Newsletter #437

Friday, February 14, 2025

Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers

Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰

Friday, February 14, 2025

Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from

The Great Social Media Diaspora & Tapestry is here

Friday, February 14, 2025

Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great

Daily Coding Problem: Problem #1689 [Medium]

Friday, February 14, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,

📧 Stop Conflating CQRS and MediatR

Friday, February 14, 2025

​ Stop Conflating CQRS and MediatR Read on: m​y website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your