iOS Dev Weekly - iOS Dev Weekly - Issue 571

Is SwiftUI less flexible or hackable than AppKit or UIKit? Maybe, but that's probably a good thing. 🪩
 

iOS Dev Weekly

 
View on the Web    Archives

ISSUE 571  August 12th 2022

 
Comment

  Comment  

 

Something struck me as I read Daniel Saidi’s blog post on hiding the iOS home indicator with SwiftUI. It relates to the hackability of SwiftUI versus UIKit/AppKit.

Yes, SwiftUI is getting significantly more capable every year by adding view modifiers like the one in Daniel’s article. However, I’m not sure the plan is for developers to have quite the same level of control as is possible with UIKit/AppKit. Yes, it’s still possible to perform tricks, but Apple has repeatedly said that the underlying implementation will not always use UIKit/AppKit as SwiftUI matures, and I’m sure they’d never suggest an approach like that.

But there’s some subtlety to how Apple is controlling this API design. SwiftUI has loads of flexibility in certain areas. Take List or Grid, for example. Cell design is entirely down to you. Go wild with it and create your disco UI there!🕺🪩💃🏻. It only gets more tightly controlled with the higher-level areas of design, like navigation.

There are advantages to having navigation be more locked down, though, like cross-platform development (where the platforms are all Apple platforms, of course). The new NavigationStack layout is significantly different between a macOS app and one on iOS or watchOS, but all you need to think about is the underlying hierarchy. Even if we rule out all platforms other than iPad and iPhone, I don’t think anyone would argue that it’s easier to set up standard navigation for iOS in UIKit vs SwiftUI.

I also read Nick Babich’s piece on ordinary design this week, and the points he makes also fit this topic well. So many apps on my phone have tried to re-think or implement their custom navigation, and virtually all of them would be better off with something more standard. Nick points out that the “ordinary design” suits most people, and while you can certainly aim to make a statement with design, that’s not the best choice for most apps.

Make apps like Toyota makes Corollas. Save the disco UI for where your app is unique, and that’s not the navigation UI.

Dave Verwer

 
 

  Sponsored Link  

 

Tired of missing critical issues affecting your app? Try Instabug

Building quality apps has never been easier with Instabug bug reporting, real-time crash reporting, and application performance monitoring, all in one SDK. Instabug tracks all the metrics that affect your users’ experience and boosts your app performance. Start your free trial now and see why mobile-first companies rely on Instabug.

instabug.com

 
 
 

  News  

 

An Open Source Implementation of Code Signing and Notarization

It wasn’t a huge announcement from this year’s WWDC, but the Notary API was a big deal for some sections of this community. Here’s Gregory Szorc talking about Robin Lambertz’s pull request to PyOxidizer that allows code signing and notarization from Linux. 👍

gregoryszorc.com

 

App Store SEO Shenanigans

John Gruber talking about why the Dropbox app is now titled “Dropbox: Cloud Photo Storage”.

I find this unsurprising but depressing.

Me too, John. 🙄

daringfireball.net

 
 

  Tools  

 

Autocompletion for SPM Commands

Here’s a helpful post from Marco Eidinger on how to get tab completion for SwiftPM commands, thanks to support built directly into SwiftPM!

The post also mentions Oh My Zsh, which I have now been using for twelve years! It's a really nice, unobtrusive set of a few built-in plugins and a huge library of optional ones. I wholeheartedly recommend it.

eidinger.info

 
 

  Code  

 

Adjust the direction of SwiftUI focus-based navigation

No more need for nextKeyView and previousKeyView. Here is Natalia Panferova with how to control focus navigation in SwiftUI using one of the new APIs for macOS (that was previously only available in tvOS).

nilcoalescing.com

 

Editable Grids in Proton

It’s been a while since I first linked to Proton from Rajdeep Kwatra. Hard work has continued on the library, and Rajdeep explains how he added grid support to the latest version in this article! It’s really impressive work on an ambitious project.

medium.com

 

Implementing a main thread watchdog on iOS

Does your app often get caught by the iOS watchdog? Wouldn’t it be nice if you could log something just before the watchdog kills your app? Jesse Squires has just the thing for you. 🚀

jessesquires.com

 

ISO8601DurationFormatter

I knew all about ISO8601 as a date formatting standard, but did you know that ISO8601 can also represent durations in a standard way? I found out when I spotted this new package from Kevin Klaebe! 🕐

swiftpackageindex.com

 
 

  Jobs  

 

iOS SDK Developer @ Stream – You will write and maintain our open-source SDKs that are used by hundreds of our customers and consumed by hundreds of millions of their users. – Remote (within US timezones)

Senior iOS Engineer (Swift) @ GoodNotes – GoodNotes is a top-rated paid-for productivity app, available to use on iPad, iPhone and Mac devices with over 10m MAU. You will own your projects and work alongside a high-calibre cross-functional team to continue delivering a product our users love! – Remote (within European or Asia-Pacific timezones) or on-site (Hong Kong or United Kingdom)

Senior iOS Engineer @ Sendwave – We currently have a 4.6-star rating on Trustpilot — people put their faith in us to deliver their money quickly, securely, and affordably. And we’re pretty darn proud of that. – Remote (within US or European timezones)

MacOS/iOS Developer @ DeepL – DeepL is hiring! Want to join the team behind the internet's most powerful translation engine? We are seeking an experienced MacOS/iOs developer to join our Native Apps team, on a fully remote basis. – Remote (within European timezones)

Senior iOS Software Engineer @ Cambridge Mobile Telematics – Cambridge Mobile Telematics (CMT) is on a mission to make the world’s roads and drivers safer. We measure driving quality, incentivize safer driving, assist users in crashes in real-time, and improve safety for millions of drivers every day around the world. – Remote (within US timezones) or on-site (United States in MA)

 

Don't forget that there are many more available jobs over at iOS Dev Jobs. What's the harm in having a quick browse?

 
 

  And finally...  

 

It’s so strange. Our analytics say that 78% of new users make it to the signup screen and then go no further… 😂

 
You received this email because you subscribed via the iOS Dev Weekly site.
We'll be sorry to see you go but you can unsubscribe instantly.
 
Shiny Development Ltd. Daresbury Innovation Centre Keckwick Lane Daresbury Cheshire WA4 4FS United Kingdom
 
 

 
 
©2022 iOS Dev Weekly | Privacy Policy | Twitter | Suggest a Link
 
Published with Curated

Older messages

iOS Dev Weekly - Issue 570

Friday, August 5, 2022

Software development is a lot like rock climbing, I think! 🧗‍♂️ View on the Web Archives ISSUE 570 August 5th 2022 Comment I don't think I've ever written about it before, but I believe there

iOS Dev Weekly - Issue 569

Friday, July 29, 2022

Where would you write Swift code without Xcode? TextEdit? 👎 Microsoft Word? 👎 Or … View on the Web Archives ISSUE 569 July 29th 2022 Comment I've been meaning to check out the Swift for Visual

iOS Dev Weekly - Issue 568

Friday, July 22, 2022

To embrace or resist the new wave of AI-based APIs. That is the question! 🤖🖼 View on the Web Archives ISSUE 568 July 22nd 2022 Comment Did you see Steve Troughton-Smith's experiments using

iOS Dev Weekly - Issue 567

Friday, July 15, 2022

Thank you for all of your help and support helping to make sure the Package Index is sustainable 🙏😍 View on the Web Archives ISSUE 567 July 15th 2022 Comment First up this week, I want to thank you all

iOS Dev Weekly - Issue 566

Friday, July 8, 2022

We need some help making sure the Swift Package Index is around for the long term? Can you help? 🙏 View on the Web Archives ISSUE 566 July 8th 2022 Comment I was going to start this week's issue

You Might Also Like

Introducing our new mobile app! 🥁📱

Tuesday, April 16, 2024

Inside: a major new mobile update and a limited edition giveaway 🎁 Get it on Google Play Get it on Google Play Add to Home Screen Add to Home Screen Giveaway! 🎁 When we launch things, we like to

BetterDev #256 - How to write a code formatter and a search engine in 80 lines of Python

Tuesday, April 16, 2024

Better Dev #256 Apr 15, 2024 Hi all, We come back with a new issue this week. If you like BetterDev, please help spead word out by refer to your friends. Buy Me a coffee would be great too. This issue

New Blogs on ThomasMaurer.ch for 04/16/2024

Tuesday, April 16, 2024

View this email in your browser Thomas Maurer Cloud & Datacenter Update This is the update for blog posts on ThomasMaurer.ch. Automate on-premises Windows Server from the cloud using Azure Arc By

April TC39 meeting; Rspack v0.6; future of JS packages; Evan You on Vue, Vite, etc.

Tuesday, April 16, 2024

We have 7 links for you - Stay up-to-date on JavaScript and tools This Week In React - Keeps senior React devs up to date thisweekinreact.com Partner We keep over 37k mid/senior React devs up-to-date

Ingesting & Using CAD Data for Real-Time 3D

Tuesday, April 16, 2024

How engineering firms leverage real-time 3D technology View this email in your browser engineering.com White Paper - Ingesting and Using CAD Data for Real-Time 3D Ingesting and Using CAD Data for Real-

It’s Easy. But Is It Easy Enough? 🤓

Monday, April 15, 2024

Is self-hosting still too hard for normal people? Here's a version for your browser. Hunting for the end of the long tail • April 15, 2024 It's Easy. But Is It Easy Enough? Self-hosted apps are

Re: Free Class: Master the Notes app

Monday, April 15, 2024

Hi there, We are holding a Free Notes App Class tomorrow (Wednesday, April 17) at 4:30 pm ET! We do expect this class to fill up so register soon to save your spot! I wanted to take a minute to answer

Two Tesla execs leave amid layoffs

Monday, April 15, 2024

Tesla execs bid adieu View this email online in your browser By Christine Hall Monday, April 15, 2024 Welcome back to TechCrunch PM, where you can find me each day bringing you the most important

🍏 Why You Should Buy the MacBook Air Over the Pro — Thrift Stores Are a Goldmine for Geeks

Monday, April 15, 2024

Also: How to Play Epic Game Titles on the Steam Deck, and More! How-To Geek Logo April 15, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your

JSK Daily for Apr 15, 2024

Monday, April 15, 2024

JSK Daily for Apr 15, 2024 View this email in your browser A community curated daily e-mail of JavaScript news Embracing Functional Programming: Streamlining Code with Reusability and Maintainability