Read the transcript
Jeroen Leenarts: Hi and welcome
to the 30th episode of my
podcast. My name is Jeroen
Leenarts. And I've been
developing software for over 18
years, I've been developing iOS
apps over nine years, and I'm
running Legco cash for over
seven years. If you're an iOS
app developer, you should listen
to my podcast because we'll keep
you updated on interesting
articles and events. In this
episode I'm going to talk about
and away we coat coordinates and
memory store crop UI image in
Swift, implementing custom pop
ups in Swift UI, integrating
face ID Touch ID with Swift UI.
And done is Monday morning
tweets. So let's get started.
I'm sitting here in the attic.
And it's starting to look more
and more like a proper desk.
Again, I treat myself with a new
27 inch screen. And it really
helps my workflow, being able to
just lay out everything in front
of me. I'm really looking
forward to the content of the
WWDC. And that's also going to
be one of the articles that I'm
going to mention in a bit. And
by the looks of things, I will
have my desk ready to go before
the WWDC will start. So that's a
good thing, because I don't
think my family will enjoy
endless videos of developer
content being played back on the
big television in the living
room. I've also been seeing some
great developments with a few
community members. I'm talking
about some people that I know a
bit more intimate than people
that are on the other side of
the world. So hopefully I can
share a bit more on their
journeys. My my recorded
interviews for the coming weeks
ready to go our interviews are
already recorded with Jordi
brand, Philip Nemecek de fer
where Dominic Williams and Orion
to the freeze. I also have work
scheduled with Kim Arnett, I'm
really looking for some fresh
faces for the future. So if you
know somebody you think I should
interview from a podcast or if
you are somebody yourself, who
would like to be interviewed for
my podcast, reach out, get in
touch on Twitter at app Force
One. I really like digging into
the backstories of my guests
during an interview. And I hope
you've been enjoying the results
of my work as much as I have
been enjoying creating the
content itself. Obviously,
quote, unquote, this week's
articles have been a bit sparse
because of my switch schedule
last week. So let's start with
articles that were fresh and new
this week and see where we'll
end up. The first article I want
to talk about is about some
event that will happen on June
7, Apple has announced the some
of the content that will be
available during the WWDC. But
now we know that there will be a
keynote State of the Union and
the Apple design awards we'll be
back. Not a lot of details yet
on their webpage. But there's
enough little bits of
information that are interesting
to just have a look at. So head
on over to
developer.apple.com/wwdc to one.
The next article is from user
love core data in memory store.
It's an article about how you
can use the in memory core data
stack for speeding up your tests
and stretch by previews. The
core data stack normally use on
disk SQLite as a storage back
end, and that causes some extra
work on running tests as you
need to reset the store to a
known state before each test.
It's also relatively slow, which
can be a pain when you're
working with Swift UI previews.
And in the article it will
describe how you can create an
in memory store instead of an
SQLite based store. And what are
some of the advantages and
things you need to take into
account when using an in memory
store. So have a look at Keith
Harrison's article on core data
in memory store.
Rob Robert Pietta writes an
article on cropping your images
in Swift and his article he
teaches you how to crop your
image in Swift, two different
boundaries, including centering
and circular crops like social
media apps. cropping images is a
common task across iOS and Mac
OS apps, especially cropping
user profile images in social
media apps is a perfect example
of this in practice. In this
post, Robert presents examples
of cropping images in Swift,
including a center and circle
crop. It's a very practical
article with very useful tips
that you can immediately apply
when you're dealing with
cropping of images in Swift, in
his article item wants to
highlight the key moments of
implementing custom pop ups. It
won't be a tutorial format, but
he will add a specific layout.
And he hopes it helps you when
you're using overlays to map to
readers and modifiers in your
projects. So he starts with a
little bit of design upfront,
then talks a bit about modifiers
and few extensions, and then the
pop up layout to required
animations. And he ends up with
the actual source code for you
for reference. The reason you
want to look at this article
because it takes you to the
journey of actually designing
something and then implementing
it all by using Swift and its
language features to create a
convenient and concise extension
are a few modifier that you can
apply in your project. And the
Urbanus writes an article on how
you can use face ID or touch ID
within swift UI. It's a nice
overview of what you can do with
the local authentication
framework. And how you can
actually use biometrics to
challenge the user to actually
present their biometric
identification. It's an
interesting article that allows
you to get some details on how
you can use biometrics on iOS.
And there is one thing you
should improve upon on this
specific article in his article
nd, indicates that you can
evaluate a policy for device
ownership, but you should
actually guard the actual piece
of information within the
keychain, with the correct
access control attributes, and I
have a additional link in the
show notes to some code that I
wrote, that I think is a good
addition onto the content that
Andy has read. It requires a bit
of a conceptual change compared
to what Andy's doing. And he is
really checking for a device
policy. And what I suggest that
you do is store specific
information in the keychain with
these access control attributes.
And then you can just query and
read the data from the keychain,
but because these access control
attributes are present on this
item, it will in fact, trigger a
biometric challenge to you as an
end user, and thus safeguarding
the data with the biometrics for
the actual device. And those are
the articles for this week.
Except for the special one,
let's pull the lever again.
Swift UI in wealth biases are
foggers Casa Seca, or how we
started using Swift why in
production code without major
headaches. With the product
owners Greenlight for dropping
the support for iOS 12 downwards
a new world of juicy
possibilities emerged in the
development horizon of CSR and
his team. Together with iOS 13,
two major new Apple frameworks
were released combined and swift
UI the new framework to design
and develop user interfaces
declaratively and with less code
in this story says are wants to
present the process that they
followed when they started using
Swift UI in their production
code base to combine part of
their transition went relatively
smoothly, but swift UI required
some more work and elbow grease.
And now Don is Monday morning
tweets. Steward Lynch has just
released his swift UI combined
open source project YouTube
channel watcher, combined code
has been thanks to daanish
Christian Kozlovsky, has
released his radio app called
eater for Mac OS iOS entative.
Us. Soon he will be releasing
the 101 update that adds
previous searches feature and
improves a bit of UI. Michael
Tigges is wrapping up adding a
couple of in app widgets and
dark mode teams for focused work
app.
Leo G. Dion is putting out an
article on dev teams and UI
design. He released an episode
that he did with Josh Holtz of
Fastlane tools. And he updated
some articles face on CI and
Swift package manager. And he's
preparing for empowered apps
episodes during WWDC 2021. On
top of that, he's also been
playing around with full stack
swift app for watch iOS and Mac
OS 10 stuff built on top of his
video of last week, in which he
built a dynamic form, but this
time, he's adding some form
validation using combine. But
Rick is currently trying to make
custom UI navigation control UI
Split View control and he's
having to adjust to in person
schooling again, limited DFS
released bluebirds app 2.0 and
overall from React Native to
Swift UI. Since then, limited
DFS has been working on letting
more people know the app, which
feels much tougher than the
coding part. Not much Shikata
has a big day to day, he is
turning a side project into a
real thing called stack sift.
It's a crash reporting utility
for iOS Mac OS NT for us, end
user and developer privacy is
modular with an optional SDK.
Lots of open source it supports
metric it and it's a new take on
analysis and grouping. You can
find more info on stack sift.io
They're still looking for
testers at Daniel Bauer is
working on his terramin app is
trying to map patches and
frequencies from audio get to a
slider but the distance of hertz
between nodes increase as you co
REO will. So we'll try to create
pitch reach and send average
terahertz rates across each
region. I I'm not even sure what
I just said there. But I think
Daniel knows what he's doing.
And with that, we're there for
this episode. If you have any
feedback or comments, please DM
me on Twitter at app Force One.
I really look forward to your
feedback, your comments, your
ideas, and suggestions just let
me know what you think and I
will talk to you again next week