<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Mick F</title><description>Notes for myself and fellow programmers, with a focus on iOS, Swift and web frontend development. Since 2009.</description><link>https://www.mickf.net/tech/</link><item><title>Notes From Swift Heroes Digital 2021</title><link>https://www.mickf.net/tech/swift-heroes-digital-2021/</link><guid isPermaLink="true">https://www.mickf.net/tech/swift-heroes-digital-2021/</guid><description>Among the talks I recommend the most: digging down into Core Text, the future of asynchronous development in Swift with `async/await` and how Core Data is still relevant when using SwiftUI.</description><pubDate>Fri, 16 Apr 2021 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;&lt;a href=&quot;https://swiftheroes.com/2021/&quot;&gt;Swift Heroes&lt;/a&gt; went digital because of the Covid pandemic restricting public
gatherings. I am not the best at socializing during conferences and watching
online talks from my comfy chair is a format that I somewhat shamefully enjoyed.
Here are my notes from the talks I have watched.&lt;/p&gt;
&lt;p&gt;Talks with 🌟 are the talks I recommend the most.&lt;/p&gt;
&lt;h2 id=&quot;lets-make-that-label-with-core-text---marcin-krzyzanowski-&quot;&gt;Let’s Make That Label With Core Text - &lt;a href=&quot;https://twitter.com/krzyzanowskim&quot;&gt;Marcin Krzyzanowski&lt;/a&gt; 🌟&lt;/h2&gt;
&lt;p&gt;Marcin is working on his &lt;a href=&quot;https://swiftstudio.app/&quot;&gt;Swift Studio&lt;/a&gt; project, a Swift IDE for which he had
to dig down deep into the Core Text framework. I enjoyed this talk following &lt;a href=&quot;https://www.mickf.net/tech/line-height-with-uikit/&quot;&gt;my
own errands on text layout customization&lt;/a&gt; and I intend to use the content of
his talk to address another use case: how to balance the lengths of broken lines
of text, to avoid a situation where the last line can be much shorter than its
siblings.&lt;/p&gt;
&lt;h2 id=&quot;future-of-swift-a-sneak-peek-at-asyncawait---vincent-pradeilles-&quot;&gt;Future of Swift: A Sneak Peek at &lt;code&gt;async/await&lt;/code&gt; - &lt;a href=&quot;https://twitter.com/v_pradeilles&quot;&gt;Vincent Pradeilles&lt;/a&gt; 🌟&lt;/h2&gt;
&lt;p&gt;Vincent presented the &lt;a href=&quot;https://github.com/apple/swift-evolution/blob/main/proposals/0296-async-await.md&quot;&gt;&lt;code&gt;async/await&lt;/code&gt; proposal&lt;/a&gt; that will be part of Swift
5.5. On the way, he explained how to install the development snapshots of Swift
in Xcode, insisted that &lt;code&gt;async/await&lt;/code&gt; would not be competing with Combine and
mentioned exciting &lt;a href=&quot;https://forums.swift.org/t/swift-concurrency-roadmap/41611&quot;&gt;upcoming features for Swift concurrency&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&quot;using-core-data-in-a-modern-swiftui-application---donny-wals-&quot;&gt;Using Core Data in a Modern SwiftUI Application - &lt;a href=&quot;https://twitter.com/donnywals&quot;&gt;Donny Wals&lt;/a&gt; 🌟&lt;/h2&gt;
&lt;p&gt;Until 2017, I was using Core Data on a daily basis. But since, I have not used
it at all. I had the feeling it was becoming a dying technology but this talk
convinced me it was still very relevant since Donny makes the case it integrates
really well with SwiftUI since &lt;code&gt;NSManagedObject&lt;/code&gt; conforms to &lt;code&gt;ObservableObject&lt;/code&gt;.
Donny wrote a book about it, &lt;a href=&quot;https://gumroad.com/l/practical-core-data&quot;&gt;&lt;em&gt;Practical Core Data&lt;/em&gt;&lt;/a&gt; that digs further on
the topic.&lt;/p&gt;
&lt;h2 id=&quot;evolving-existing-projects-with-swiftui---peter-steinberger&quot;&gt;Evolving Existing Projects With SwiftUI - &lt;a href=&quot;https://steipete.me/&quot;&gt;Peter Steinberger&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;This felt like a natural follow-up to Peter’s talk at &lt;a href=&quot;https://www.mickf.net/tech/frenchkit-2019/&quot;&gt;FrenchKit 2019&lt;/a&gt; about
&lt;a href=&quot;https://youtu.be/Xo3zGlyxXcI&quot;&gt;shipping a Catalyst app&lt;/a&gt;. He offered feedback on integrating small doses of
SwiftUI in a large codebase with a long history that is a mix of Objective-C and
Swift.&lt;/p&gt;
&lt;p&gt;Here is what I’ll take away from the talk:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;SwiftUI is unstable and change dramatically at each version;&lt;/li&gt;
&lt;li&gt;Previews can time out being &lt;em&gt;de facto&lt;/em&gt; unreliable;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;GeometryReader&lt;/code&gt; should be used as high in the hierarchy as possible;&lt;/li&gt;
&lt;li&gt;There are straightforward workarounds to SwiftUI limitations — via custom view
modifiers for instance — but they should be considered as hacks with the risks
it implies in terms of maintenance;&lt;/li&gt;
&lt;li&gt;Mentioned projects were:
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/siteline/SwiftUI-Introspect&quot;&gt;SwiftUI-Introspect&lt;/a&gt;: helps to introspect underlying UIKit components
from SwiftUI;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://swiftuix.com/&quot;&gt;SwiftUIX&lt;/a&gt;: a project that attempts to fill the gaps that SwiftUI suffers
from when compared to UIKit or AppKit.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;combining-swiftui-and-uikit-appclips-and-widgets---anna-zharkova&quot;&gt;Combining SwiftUI and UIKit: AppClips and Widgets - &lt;a href=&quot;https://twitter.com/anioutkajarkova&quot;&gt;Anna Zharkova&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Widgets and AppClips are additions to iOS that come with significant
restrictions compared to what you can achieve in an app. Anna presented
workarounds against the lack of dynamism that she met while developing widgets
and app clips using bike ride maps as an example.&lt;/p&gt;
&lt;p&gt;My main takeaway is that, since neither the keychain or local authentication can
be used in these app-derivatives, then if any of the data you would like to
present require authentication, you are out of luck.&lt;/p&gt;
&lt;h2 id=&quot;creating-machine-learning-models-with-create-ml---moritz-philip-recke-tiago-gomes-pereira--giovanni-monaco&quot;&gt;Creating Machine Learning Models With Create ML - Moritz Philip Recke, Tiago Gomes Pereira &amp;amp; Giovanni Monaco&lt;/h2&gt;
&lt;p&gt;This talk was presenting how to create machine learning models with convenience
using &lt;a href=&quot;https://github.com/cloud-annotations/cloud-annotations&quot;&gt;IBM’s Cloud Annotations tool&lt;/a&gt; to create training and testing data
sets, and feeding these into the macOS &lt;a href=&quot;https://developer.apple.com/machine-learning/create-ml/&quot;&gt;Create ML&lt;/a&gt; app. It did sound
accessible and I intend to give it a try one day.&lt;/p&gt;
&lt;h2 id=&quot;mocka-a-mock-server-for-developers-by-developers---fabrizio-brancati--firas-safa&quot;&gt;Mocka: A Mock Server for Developers by Developers - Fabrizio Brancati &amp;amp; Firas Safa&lt;/h2&gt;
&lt;p&gt;&lt;a href=&quot;https://github.com/wise-emotions/mocka&quot;&gt;Mocka&lt;/a&gt; is an open-source server to mock backend API responses to test
backend edge cases with convenience. The project is promising and I will keep an
eye on it but it is still a young product with many missing features so I am not
sure I will start using it today.&lt;/p&gt;
&lt;h2 id=&quot;how-to-think-like-a-swiftui-view-modifier---josh-holtz&quot;&gt;How to Think Like a SwiftUI View Modifier - &lt;a href=&quot;https://twitter.com/joshdholtz&quot;&gt;Josh Holtz&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Josh presented some view modifiers he programmed and the struggles and pitfalls
he met on the way. A good time saver for people starting learning SwiftUI.&lt;/p&gt;
&lt;h2 id=&quot;full-stack-swift-development---kilo-loco&quot;&gt;Full Stack Swift Development - &lt;a href=&quot;https://twitter.com/kilo_loco&quot;&gt;Kilo Loco&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Kilo is a developer advocate for AWS and gave a fair overview of technologies to
use Swift on the backend, even though he obviously highlighted AWS Amplify. It
felt like investing on AWS technologies could result in a lock-in so I was not
convinced I would invest in this direction for hobby projects.&lt;/p&gt;
</content:encoded><category>Conference</category><category>Swift</category><category>SwiftUI</category><category>iOS</category></item></channel></rss>