Read the transcript
Jeroen Leenarts: Hi, and welcome
to the third episode of my
podcast. If you're an iOS app
developer, you should listen to
my podcast because it will keep
you updated on interesting
articles and defense you might
not have heard about. In this
episode, I'm going to talk about
a number of articles on async
await several articles on the
new bottom sheet in iOS 15.
What's new in Xcode 13 Pull to
Refresh in Swift UI with
refreshable. build apps that
share data through cloudkit and
Core Data arc in Swift basics
and beyond. And finally, the
ultimate application performance
Survival Guide. As you can tell,
that's quite a number of things
I want to go through. So let's
get started. First off the
articles on async await. I have
two articles for you one by Ben
Sherman and one budoni waltz
both reflecting on what combined
will be in async await worlds.
As we all know, async await has
been announced in WWDC 2021. And
both these articles they reflect
on what async await will do to
actually the usability of
combine and its future. Both
come to a similar conclusion.
async await is something that
will be available in iOS 15 and
onwards but looks of things and
combine is something that you
can use on earlier versions of
iOS. So they both expect both
Ben and Donny, that combined is
something you'll be using for
the next few years still,
regardless of what will happen
to async await and combine. They
do expect that if you are using
iOS 15 as a minimum target, then
that the usage of combined will
drastically be reduced because
async await is a much more
convenient API to do
asynchronous operations. So I
have three articles on new
bottom sheets in iOS 15, one by
Philip Nemecek, one by Matuson.
matric and one by Antoine
formulae. Just have a look at
these three articles and see
which one you like best, all
three are great resources, and
you should subscribe to their
blogs. And of course, the new
bottom sheets in Swift UI is a
great addition. There's also a
nice article by Paul Hudson on
what's new in Xcode 13. It goes
into a lot of depth on what's
new in Xcode 13. If you haven't
watched the WWDC video on what's
new in Xcode, then this article
is the next best thing. And then
onwards to an article by saloon.
That's another great addition to
Swift UI. And it's the pull to
refresh in Swift UI with
refreshable. If you want to have
a refreshable list in Swift UI,
then you only need to apply a
modifier refreshable. And all
the basic plumbing will be in
place to allow you to refresh
the list with a pull to refresh
gesture. Finally, there's four
videos from WWDC that you might
not have watched. And these are
four videos that I really think
you should watch, because they
can provide you with great
ideas, and great tools for your
next project. The first one is
built apps that share data
through cloudkit and core data.
It's very easy to share data for
an end user across their
devices, you just need to use
Cloud kit for that. And if you
also use coded data, if you also
use core data as a persistence
layer, it's even easier than
that. There are some limitations
and some things you need to be
aware of. But it seems that in
iOS 15, a lot has been improved
on this architecture. If you
want to store your data in core
data and sync it to cloud get to
that uses other devices. And
this is a session you should
watch. Another interesting video
on WWDC is arc in Swift, the
basics and beyond. Basically,
even if you're new to Swift or
if you're very familiar with
Swift, if you have a background
and Objective C or not. Knowing
what arc and Swift does, is very
important. watching this video
will probably explain some of
the more strange object
lifetimes and memory related
issues. You might have seen over
your projects and code. This
article goes in depth a bit. But
I think it's important knowledge
to have if you're an iOS
developer, because automatic
reference counting in Swift is
something that you have to deal
with, even if you're not
explicitly retaining and
releasing your objects. So I
highly recommend you watch this
video even if you're very
familiar with the concepts. And
if you're not familiar with
concepts, then especially watch
this video because it's it's
very basic stuff that you just
need to know about. Another one
that's very interesting to me is
distributing apps in Xcode with
Cloud signing. That's also a
video from the WWDC. It's, it's
an interesting thing that you
can do just offload all the
signing of your products. So no
more provisioning profiles, no
more keys, or at least the
management of that manually. You
just ship it off to App Store
connect and App Store connect
takes care of everything.
At least, that's what I hope.
And then there's ultimate
application performance of FIFO
guides. That's the last video of
the WWDC, I want to point you
at. Performance Optimization is
not something that many people
have to deal with. But I think
it's a good reminder to just get
in touch with performance
optimization as a concept. And
know what metrics and tools
there are available if you have
to do it. Because nowadays, you
don't have to do performance
optimization that much anymore
on iOS. Back in the day, it was
you had to do it like pretty
much every few weeks. But still,
just knowing what is available.
What are the triggers to
actually start doing this
process? Very good things to
know about. And I think the
performance survival guides by
Apple is quite a good overview,
including tools and tricks that
you can actually apply on your
own code base. And it's also fun
to just put your own project
through its paces with some
performance measurement tools
just to see how you're doing
right now. And with that, I just
want to keep it short to this
week. We all had a WWDC week and
we're all still processing the
contents of the of the last
week. I'm doing that myself as
well, and it's a lot so I want
to save you some time and talk
to you again next week.