Sponsored Link
Provide Secure Mac Environments for Remote Devs with MacStadium
Headaches abound when shipping Macs to remote iOS developers. Sidestep everything from navigating customs to ensuring the delivery and eventual return of your physical hardware with MacStadium's Virtual Command, a unique, browser-based remote Mac solution. Learn more.
News
Clarifying the App Store Improvements process
There are two important bits of information in this clarification from Apple about when they will remove old or abandoned apps from the store. First:
Developers of apps that have not been updated within the last three years and fail to meet a minimal download threshold ā meaning the app has not been downloaded at all or extremely few times during a rolling 12 month period ā receive an email notifying them that their app has been identified for possible removal from the App Store.
and
Developers, including those who recently received a notice, will now be given more time to update their apps if needed ā up to 90 days.
Iāve seen criticism of this clarification, too, but it seems reasonably clear to me, and as I said last week, I still agree with the idea behind it. It can be sad when apps are removed from the store, and I heard plenty of people this week who have had apps fall foul of the policy over the last few years, but I still think the alternative is worse.
Are alternative app stores worth it?
With the possibility of Apple being forced to allow alternate app stores on iOS, I found this article from Marine Nozerand with some numbers from alternative stores on Android interesting. Iām not sure there are many conclusions to draw for iOS, primarily because alternative stores on Android are pre-installed on phones from the same manufacturer, but I still think itās worth reading.
Tools
Building multi-platform documentation with DocC
Weāre working on something related to DocC over on the Swift Package Index, and this post from Daniel Saidi came in very useful! Youāll also likely find it helpful if you need to generate DocC documentation.
I wonāt spoil the surprise of what weāre working on, even though itās really obvious, and thereās even a pull request in progress if you care to spoil it for yourself! š
Code
Inside Code Signing, Provisioning Profiles, and Hashes
I canāt tell you how many times I referenced TN2250 in the early days of iOS development. That note was archived a long time ago now, but it looks like these tech notes are the replacement! Code signing isnāt as tricky as it used to be, but that doesnāt mean you wonāt be thankful for these documents when you encounter an issue!
Also, thanks very much to Federico Zanatello for highlighting these documents. I still wish Apple did more to let people know about new and significantly updated documentation!
What does AttributedStringās Codable format have to do with Unicode?
This article from Ole Begemann goes into detail on how Foundation serialises attributed string data, but the conclusion will serve you well, whether you're dealing with attributed strings or not!
We can extract a general lesson out of this: Donāt store string indices or offsets if possible. They arenāt stable over time or across runtime environments.
That's good advice.
Send Events from SwiftUI to UIKit and Vice Versa
Youāll find plenty of advice that tells you how easy it is to mix SwiftUI code into a UIKit (or AppKit) project. There are endless articles on hosting controllers and representable views, so itās nice to see an article that focuses on one of the essential parts of working between two frameworks, data transfer. Thanks to Jordan Morgan for writing this up!
Debug logging forever!
A love letter to print debugging by Graham Lee. Maybe itās because Iām old, but printing/logging is always my first choice when debugging, and I usually only break out the debugger for tricky situations. Graham goes one step further than I do, though, and advocates for committing debug logs to indicate that certain bits of code may need careful attention.
Weak Self - Closure Rules of Thumb
Can Christian Tietze wrap up the ongoing discussion about retaining self from the last few weeks? Let's see, shall we? š
Jobs
Senior iOS Developer @ Chariot Solutions ā Chariot Solutions is a Philly based consulting company that strives to create a product company culture. We work hard to win exciting projects with some of the top companies in the world, while helping our employees maintain a great work life balance. ā Remote (within US timezones)
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)
Senior Staff Engineer, iOS @ MyFitnessPal ā Our users rely on the MyFitnessPal iOS app to power their health and fitness journeys every day. Youāll have the opportunity to positively impact those users In addition to technical expertise, youāll find that your teammates value collaboration, mentorship, and inclusive environments. ā Remote (within US timezones)
Are you looking for work? There are many exciting opportunities to work with all kinds of companies over on iOS Dev Jobs. Filter and browse on the home page, or subscribe for free to receive a weekly email full of jobs that match your preferences.
And finally...
AppKit for ... hold on ... what? š¤Æ
Comment
This week saw Apple announce a few more details about the in-person portion of this yearās WWDC.
Even though these words make no appearance on the page, I love how the URL to the page ends in āspecial-dayā, and Iām sure it will be exactly that for those that attend. The circumstances mean that it will almost certainly be a unique event.
I wonāt be applying for a ticket or travelling the 6,000 miles itād take for me to set foot inside Apple Park, but Iām still glad thereās an in-person aspect to the conference this year. Meeting in-person can never be as equitable as an online-only conference. However, I still hope that thousands of developers gathering in California once a year becomes a regular part of the calendar again.
If you live a little closer to Cupertino or are willing to travel, Apple will allocate the (presumably free) tickets via a lottery on Monday or Tuesday. Apple will then distribute the tickets on Wednesday, so itās all going to happen fast!
As for the mention of the āDeveloper Centreā everyone is talking about, Iām not even going to speculate. It could be anything from a temporary marquee next to the Apple Park rainbow to a secret underground lair where Apple executives cater to your every need as a developer. š Weāll have to wait and see! Iām keeping my fingers crossed for the underground lair.
Oh, and the organisers over at WWDC Community event have announced theyāll again be hosting an online-only event and are looking for volunteers if you want to help out!
Dave Verwer