Not Only Swift

Subscribe
Archives
September 7, 2021

Not Only Swift Weekly - Issue #2

Hello!

It’s September, and this means it’s an exciting time for those of us who are in the Apple ecosystem. I run xcodes update every day to find out if there’s a new (final?) beta of Xcode 13, and Swift’s new concurrency system seems to gain backward compatibility with previous OS versions, which is very exciting!

Speaking of which, the roadmap for Swift concurrency has a number of features that will have long-lasting implications on how we write software for distributed systems. Definitely worth reading the pitches to learn what’s coming up!

Firebase released some pretty cool features as well in the past couple of weeks, and - let me tell you - we’ve got even more things brewing that we can’t wait to share with you … pretty soon!

I hope you enjoy this second edition of Not Only Swift Weekly - if you do, please share it with a friend. And as always, feel free to share your feedback with me by replying to this email.

Thanks for reading!

Peter

What I am working on

The second part of my new series about SwiftUI’s List View is out! It covers both basics (how to display items from a dynamically changing collection) and more advanced topics - such as how to make your list items editable (a feature Apple added to SwiftUI just recently!).

Building Dynamic Lists in SwiftUI - The Ultimate Guide to SwiftUI List Views - Part 2
Building Dynamic Lists in SwiftUI - The Ultimate Guide to SwiftUI List Views - Part 2
SwiftUI’s List View is a very powerful UI component. Learn how to use it to asynchronously fetch data, and add features like pull-to-refresh, searching, and make your list items editable.
peterfriese.dev

Behind the scenes

So I promised you some behind-the-scenes looks at how I produce content. Here is a snapshot of a recording session for my Building SwiftUI Component video series:

In the top left corner, you can see the teleprompter I use for all my videos (Glide Gear TMP 100). It’s large enough to hold an iPad 11”, and I run Teleprompter Premium on both the iPad and my MacBook to keep my script in sync on both devices.

This video is currently in editing, so expect it to land soon.

Developer Productivity

It’s no secret that learning your IDE’s key bindings will make you more productive. Here is Cyril with a hidden gem in Xcode: Jump between line changes (Control + \):

Cyril 😁 on Twitter: "Jump between line changes in a file in Xcode control+\ You're welcome. You are very welcome."
Cyril 😁 on Twitter: "Jump between line changes in a file in Xcode control+\ You're welcome. You are very welcome."
“Jump between line changes in a file in Xcode control+\ You’re welcome. You are very welcome.”
twitter.com

For more keybinding goodness, check out this article with my favourite Xcode key bindings:

Essential Xcode Shortcuts for More Efficient Coding - Accelerate Your Coding Workflow
Essential Xcode Shortcuts for More Efficient Coding - Accelerate Your Coding Workflow
Learn these essential shortcuts to become a more productive developer
peterfriese.dev

On this note, I ran a Twitter poll last week to hear about your favourite IDE for developing iOS apps. It’s no surprise that most of you prefer Xcode, but there were some interesting replies as well. Check out the results!

Peter Friese 🥑 on Twitter: "Do you use any IDE / editor other than Xcode for developing iOS apps?"
Peter Friese 🥑 on Twitter: "Do you use any IDE / editor other than Xcode for developing iOS apps?"
“Do you use any IDE / editor other than Xcode for developing iOS apps?”
twitter.com
Peter Friese 🥑 on Twitter: "Do you use any IDE / editor other than Xcode for developing iOS apps?"
Peter Friese 🥑 on Twitter: "Do you use any IDE / editor other than Xcode for developing iOS apps?"
“Do you use any IDE / editor other than Xcode for developing iOS apps?”
twitter.com

Firebase 🔥

If you are a JavaScript developer, you will be pleased to hear that the Firebase team has reduced the size of the JavaScript SDK. For example, the JavaScript SDK for Firebase Auth now weighs in at 17.8 kB (down from 63.4 kB in the previous version). When I first heard those numbers, I thought “it’s just a few kB, why all the excitement?” - but you have to keep in mind we’re talking about web applications here. Every single byte you can save makes your site load faster, and that is indeed a pretty big deal.

My colleague David East has all the details about it:

David East on Twitter: "🔥🚀 Yesterday we released our new JavaScript library to GA! I'm ECSTATIC about it. We dropped the library size (up to 80%!) w/out removing features. How? Modules and functions. Here's a little thread. https://t.co/ShCUmJAwUn"
David East on Twitter: "🔥🚀 Yesterday we released our new JavaScript library to GA! I'm ECSTATIC about it. We dropped the library size (up to 80%!) w/out removing features. How? Modules and functions. Here's a little thread. https://t.co/ShCUmJAwUn"
“🔥🚀 Yesterday we released our new JavaScript library to GA! I’m ECSTATIC about it. We dropped the library size (up to 80%!) w/out removing features. How? Modules and functions. Here’s a little thread. https://t.co/ShCUmJAwUn”
twitter.com

Conferences

I am super stoked to be speaking at SwiftLeeds (October 7th, in Leeds, UK), along some amazing folks such as Tim Condon, Josh Holtz, Antoine van der Lee, Donny Wals, Jordi Bruin, and Danijela Vrzan.

My talk will be about Firebase and SwiftUI, and I will cover setting up an architecture for data-driven (serverless) applications, syncing data across multiple devices with Cloud Firestore, using Combine and async/await with Firebase, and some other cool things we have been cooking up for iOS developers on the Firebase team, such as view modifiers for in-app messaging and analytics, as well as some property wrappers for Firestore.

Which topics would you like to hear about in my talk? Reply to this email, or reach out to me on Twitter!

The Chip Shortage

We all have heard about the chip shortage, but what are the implications, and how did we get there in the first place?

This episode of Decoder goes behind the scenes and explains all of this. Super exciting insights into how foundries and fabs work, and the level of accuracy you need for the machines that are required to build the chips in our phones. Check it out, you won’t regret it.

Fun stuff

Have you ever wondered about the lyrics in some songs? They didn’t make sense to you? You’re not alone! Check out Bec Hill’s hilarious flip chart videos to learn what those lyrics actually mean!

When you're in the club and you're hungry...
When you're in the club and you're hungry...
Want me to make more videos? Send me a few quid at ko-fi.com/bechill! 💕2020 Tour NOW ON SALE: bechillcomedian.com/tour-gigsA follow up to “When you listen t…
www.youtube.com
When you're in the club and you're hungry...
When you're in the club and you're hungry...
Want me to make more videos? Send me a few quid at ko-fi.com/bechill! 💕2020 Tour NOW ON SALE: bechillcomedian.com/tour-gigsA follow up to “When you listen t…
www.youtube.com
Don't miss what's next. Subscribe to Not Only Swift:
GitHub X YouTube LinkedIn
Powered by Buttondown, the easiest way to start and grow your newsletter.