View profile

Not Only Swift Weekly - Issue #3

Peter Friese
Peter Friese
Today is the day! Apple’s California Streaming event is taking place at 10 a.m. PDT (check here for your local time), and that means we will get to know when iOS 15 will be released to the public.

iOS 15 comes with a host of new features, but personally, I am most excited about SwiftUI closing the gap to UIKit, and async/await.
I’ve spent quite some time looking into all the new features and what they mean for Firebase, and if you’ve been following me on Twitter and YouTube, you might have seen some of this work already. Expect an update 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!
What I am working on
Last week I gave you a behind-the-scenes look at how I produce my videos, and this week I am happy to share the result with you: in the fourth episode of my series about Building SwiftUI Components, I show you how to add input validation to the Floating Label TextInputField we’re building, and how to expose the validation state via @Binding. This is a technique you can use in you own SwiftUI components as well, so don’t miss out on this one!
SwiftUI: Exposing a View's State
SwiftUI: Exposing a View's State
Developer Productivity
If you’ve ever run a workshop (or attended one!) you know that usually, a good chunk of time is spent wasted on setting up the development environment. Downloading the correct versions of the IDE, the SDKs and their dependencies and getting them set up tends to eat up the better part of the first session of a training. And even after everyone is ready to go, you will find out later that literally each participant has a slightly different setup which might behave slightly different at critical points throughout the training.
Workshops as code
Easier setups and faster turnaround times increase developer productivity, which reminded me of Michael Tsai’s tweet the other week:
If you’ve been wondering why running the developer tools is slow after a reboot, now you know why.
What do you think - is Apple headed in the direction of GitHub Codespaces and Gitpod Workspaces?
Firebase 🔥
This next link lines up nicely with the topic of developer productivity. The Firebase Emulator Suite makes it easy to develop and test your application locally (or on your CI/CD system!) by providing an easy-to-use way to run Firebase services on your local machine.
To give you a better understanding of the requests your app sends to Firestore, the Emulator suite now contains a request monitor. This allows you to see and inspect the requests your app sends to Firestore, including information about whether or not the request was allowed or denied by your Security Rules. You do write Security Rules, don’t you?
Learn more about this new feature on the Firebase blog.
On Repeat
You might not know, but I am a bass player myself, so seeing the crowd sing along the bass line of a song was an unexpected experience. Have a listen for yourself:
VULFPECK /// Dean Town (Live at Madison Square Garden)
VULFPECK /// Dean Town (Live at Madison Square Garden)
And if you thought that was fast, check out this version by Nick Campbell (of Pomplamoose and Scary Pockets fame):
Fun Stuff
With the official release of macOS 12 Monterey just around the corner, you might be wondering why Apple stopped using (wild) cat names for their major releases. Maybe they ran out of names, and Phil Schiller didn’t approve of this suggestion.
Did you enjoy this issue? Yes No
Peter Friese
Peter Friese @peterfriese

Xcode tips & tricks, Swift, SwiftUI, Combine, Firebase, computing and internet history, and - of course - some fun stuff.

In order to unsubscribe, click here.
If you were forwarded this newsletter and you like it, you can subscribe here.
Created with Revue by Twitter.