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

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