Douglas Hill’s recent posts
Follow/subscribe for updates
20 January 2025
Today it’s five years since I last went on a plane. I continue to have no plans to fly anywhere, while still enjoying slower travel on the ground. Here’s a brief review of my travel last year and in the coming year. »
The M4 iPad Pro introduced haptic feedback on iPad via the Pencil and trackpad. I wrote about how we went against Apple‘s recommendations to get haptics working across both iPad and iPhone. Sometimes, “trust the system” isn’t enough. »
19 January 2025
Booked my ticket for Swift Craft in May. Most European iOS conferences are around Sept/Oct, so it’s nice having this one earlier in the year. (I’d nostalgically call this the UIKonf slot — just before WWDC.) »
7 January 2025
Today’s weird low-level issue: Calls to os_log_with_type
will log <decode: bad range for [%{public}@] got [offs:318 len:1238 within:0]>
if the message has a length from 966 to 1989. The workaround is to split the message in two. »
30 December 2024
Supporting Mac Catalyst also includes apps compiled for iOS running on Apple silicon Macs. I think mailto
links should be the default choice. Best tradeoff of being simple to implement and working in the most places.
»
iOS app sending emails cheatsheet:
- If you need attachments, use
MFMailComposeViewController
- If you need Mac Catalyst, use
mailto
URLs - If you need both attachments and Mac Catalyst, use
ShareLink
/UIActivityViewController
- If you don’t need either, pick one based on the UX »
19 December 2024
Acorn is a pretty great Mac app. If I had a time machine, I’d go back and buy version 1 to complete my collection of licence keys.
18 December 2024
One of our customers is hitting this SwiftUI issue that impacts our SDK: FB16117850 — View lifecycle event methods not being called when using a UIViewControllerRepresentable
in a TabView
with tabViewStyle(.page)
»
For example, it looks like the new ImagePlayground
framework was started in September 2023 and was originally called GenerativePlayground
.
»
In the iOS 18.2 SDK, there are 41 header files that escaped Apple’s standard legal preamble and instead show the Xcode default template with the original filename, module name, author and creation date.
14 December 2024
Well this fixed one issue but introduced another. One day I’ll learn to read comments from my previous self. (Line below the added part.) 🙈
12 December 2024
Just posted on our company blog: Erhard wrote a tutorial on how to create tutorials with DocC. »
We had a nice, relaxed last NSLondon of the year yesterday with a talk from Abizer followed by a quiz. Thanks to Vonage for hosting us and running the quiz.
10 December 2024
Sad to hear that iOSDevUK won’t run next year. It’s a terrific conference. Always a wonderful week in Aberystwyth. »
6 December 2024
iOS productivity tip: go to Settings app > Accessibility > Touch > Haptic Touch and change touch duration to fast to reduce the time for long press to show a menu. A literal time-saver! »
2 December 2024
One of the issues I have rewriting much of my reading app in SwiftUI is that drops don’t work over List
. Here’s a copy of the feedback sent to Apple as FB16024301. »
We recently released Nutrient iOS SDK 14.2. This was an ambitious release for our three-person iOS team, and it was exciting seeing this all come together! Here are a few interesting details from the technical side. »
Unusually, I didn’t feel up to wakeboarding at the weekend, but on the plus side I rewrote all the lists and navigation in my reading app in SwiftUI. There are some blockers to resolve though. »
25 November 2024
TIL squirrels can swim. Found this out by chasing one into the pond. Considering this a successful experiment. »
14 November 2024
Oh AirPods Pro Hearing Test and Hearing Aid aren’t available in the UK and I don’t see this option. Unclear how this is actually determined. My physical location and Apple account are UK, while my device region is set to Ireland (which is supported). »
More in the archive