Read the transcript
Jeroen Leenarts: Marco Arment
updating overcast you straight
URL Samuel Goodwin from
roundball software has released
two great articles, one on
obscure API's you might not have
heard about, and the other one
about progress expectations in
unit testing. Phillip Nemecek
has released an interesting
article on forming an iPhone app
to iPad and he wrote down his
experiences. Be the Steinberger
released a new article on
presenting pop ups from Swift
UI. Dimitri shipping and Nikita
oppo myself have released an
article on creating app clips on
iOS 14. It's a very elaborate
article. Antoine has released a
new article on the Swift league
blog, Jason Parson district
explained with code examples.
John Sandow talks on his blog
about formatting numbers in
Swift. So it talks about
calculating the number of days
between two dates swift.org has
released a new concurrency
roadmap. Hi, my name is sudo
Linus, I've been developing iOS
apps for eight years. And I'm
also running the Dutch cocoa ads
for over seven years. If you
want to support my podcast,
please subscribe in your podcast
player of choice. Follow me on
Twitter. And if you have any
feedback, please contact me
through SpeakPipe comm slash app
Force One. Also, if you are you
know someone that likes to
sponsor me, please get in touch.
Last week I released my first
interview with Antoine fillet.
And I must say that the response
on that was really great. I've
received a lot of downloads and
a lot of comments on on the
actual content. And I look
forward to what your people
think of my next interview with
Dani whilst that I will be
releasing this week. I've also
have a great schedule ready for
you all. I have a number of
great names. I have promises
from Daniel Steinberg, Pedro
Pinera, Pedro Carrasco, le
Shapiro, Ben Sherman, and
Anastasia for over to actually
come and join me for an
interview in a future episode.
Another week, another Monday
morning tweet by Donnie wells.
Donnie has received a lot of
responses this week. And I will
just pick a few of those. Peter
Molnar started his third week as
an iOS developer. He's still
feeling a bit under the weather,
because, well, it's hard doing
something new port files, info,
peerless optimizations, RX swift
bass, but he's missing
engineering practice. He said he
has accepted the challenge. And
I'm sure he will do great.
Alexander been building his very
first app in UI kit, the
concepts and idea very basic,
but he's making great progress.
And he's learning a lot, which
is always great. Chris Caffery
is building an iOS app in Swift
UI, and he's planning to track
weightlifting workouts. Tommy
says good morning, and he's
thinking about exploring AWS
lambda functions with Swift
during the week. And he's also
planning to persist information
on this app, probably using core
data and use the defaults
depending on what is caching.
And Reus has bought a brand new
iPad Air for last week. Gonzalez
is trying to ship the first
private beta of with prime dot
coms iOS app this week. And
they're also looking for a
second iOS engineer. This young
released an app a couple months
ago, and he wants to do some
marketing this week. He's aiming
to increase the number of
downloads ever he is planning on
catching up with concurrency
news. And Maxime has released
his Dutch words learning app for
capitalists written in Swift
wind combined with composable
architecture. Tiaan has recently
released another update to his
outgoings an app to track
recurring expenses, which is
built in Swift UI semi cut is
continuing to learn with 100
days of Swift and she's looking
forward to do her first small
projects. And there you have it,
a lot of people, especially
learning a lot of new things,
which is always great, and best
wishes to everybody. I wanted to
do a shout out to mobile
optimized 2020, an online
conference on mobile
development. It's happening at
the beginning of November,
November 6, and seventh, and
they have discount tickets
available right now. I have a
small section on coca hats and
now this week, they released
their video from Donnie waltz
presenting on adopting a
reactive mindset. Look it up on
YouTube. If you'd like to join
them online for the next meetup,
go to meetup.com and RSVP.
Let's begin with the news of
this week. In the underwriter
podcast, Marco Arment talks
about modernizing the overcast
code base from from Objective C
to Swift UI. And it's a very
interesting take on on his views
on Swift UI. He says he says
he's late with adopting swift UI
but he did that on purpose and
he has some very sound reasoning
behind that. Samuel Goodwin has
two articles. I'll start with
the first one obscure API's.
He's running about five API's
provided by Apple that you may
not know about search gate
language detection, asynchronous
fetching, progress, and custom
bindings. He will spend a little
bit of time on each one then
encourage you to actually go
look at these five API's because
all five of them are actually
quite interesting. His second
article is on progress
expectations. Expectations are
pretty common when you're
writing unit tests. Generally,
an expectation represents an
event you want to wait for any
unit test, you can tell the test
to wait until the expectation is
fulfilled. And this works great
if you have something that
actually has completion handler.
But what if you need to observe
some total results and you don't
have completion handler, but
there is some threshold value
that indicates that the actual
execution has progressed to the
point that it's actually
completed and successful. In his
article, he's gives a small
example of how to deal with
that. Phillip is talking about
porting an iPhone app to iOS.
And he writes about his
expectations. He also has some
tips and approaches to use. If
you don't have the time to build
an iPad version from scratch. He
talks about a number of items
backwards compatibility with
sidebar for iPad, bigger margin,
custom cell design, non
abbreviated content, and
popovers form sheets and page
sheets because we all know that
elements that were great on an
iPhone, they look totally
different on the iPad, and he
has some approach to deal with
that and what it actually means.
Peter Steinberger talks about
presenting popos from Swift UI.
When he was working on the new
Swift UI wrappers for their iOS
PDF SDK, he discovered an
interesting problem. They offer
various pre built view controls
such as search or an outline
view. And these are usually
presented as popovers on the
navigation bar.
The PDF view controller they
create offers various
convenience methods to take care
of presentation, these methods
take a center of pop off to use
as an anchor, which the object
of pop off arrow points towards.
But this is very specific to UI
kit. So he was wondering, is
there a way to get such anchor
behave to toolbar buttons that
are managed by swift UI. In this
article, he talks about this
approach and their actual
solution. exite has created a
very elaborate blog post about
how to create app clips in iOS
14, it goes into a lot of
detail. And I think if you just
follow along with your code base
on this specific article, then
you will end up with an actual
app clip for your app. They talk
about the various restrictions
that you may need to take into
account when creating an app
clip, and all the steps that you
need to take to actually make
sure that you have a working app
clip. Antoine has an article on
JSON parsing and swift explained
with code examples. Jason
parsing the Swift is a common
thing to do almost every empty
coach Jason to show data in a
visualized way. Parsing Jason is
definitely one of the basics you
should learn as an iOS
developer. Decoding Jason is
Swift is quite easy. And it does
not require an external
dependency. The basics API that
come with Swift will be enough
to do the job. And he just
explains how you can actually do
the Jason decoding. A very nice
introductory article on Jason
decoding on iOS. John Sundar
from sweat by Sunday has an
article on formatting numbers in
Swift. On first glance, think
formatting numbers, how hard can
it be? Well, John explains what
details are involved. He has a
long form article about the
number formatter, it's it's your
biggest enemy and your biggest
trends when you want to display
a value to the end user. He goes
into a lot of detail. And he has
also some recommendations if you
want to do domain specific
formatting. For instance, if
you're in a in a European area,
or if you're in the US, you want
to display currencies different
and he talks about that as well.
So Ron has a similar article on
getting the number of days
between two dates in Swift.
There are a few variations when
dealing with counting days. So
you need to ask yourself the
definition of a day beforehand,
certain goes into the details of
what his definition of a day
might be. And then for each
version, he has his own approach
to actually make sure that you
can present us with the correct
number of days between those two
dates. It's an interesting
article detailing some of the
intricacies of formatting date
related values. swift.org has
released their swift concurrency
roadmap, they go for a two phase
approach. In the first phase,
they add basic syntax to the
language that allows you to do
actor isolation. And in the
second phase, they're planning
on extending that to create what
they call full XR isolation.
Read up on article to see what
actors are and what this all
involves with dispatch queues
and everything that is related
to this and why it is an
important new addition to the
Swift language. And that's it
for this week's episode. If you
liked the show, please subscribe
in your favorite podcast app of
choice, but also read me on
Apple podcasts. It really helps
a lot. If you want to sponsor me
look at Bob dot fan slash app
Force One. If you have some
feedback that you want to share
with me, preferably as a
voicemail, then go to SpeakPipe
comm slash app horsemen and
maybe I used to click episodes