Archive for December 29, 2021

Wednesday, December 29, 2021

iOS 16 Wishes

Rene Ritchie:

What do you want to see in iOS 16 and iPadOS 16 this year? What major new features do they need? What should be removed or changed? What would improve your quality of life?

There are lots of good replies.

I’ll probably think of more, but here’s a quick list off the top of my head:

Previously:

Update (2022-01-03): Stephen:

Let us select text in an iMessage without copying the entire message please

nilrog:

Adding widgets to the home screen (and moving them) without having all your icons “explode”…that’s it!

Craig Grannell:

  • Landscape mode for Home Screen
  • Notes field for Passwords section in Settings
  • Passwords also to add support for network/FTP logins/etc.
  • Install apps to iPhone/iPad from other Apple kit you own
  • OFF SWITCH FOR HOME INDICATOR

Buck:

My wish is for no new iOS this year at all. Just fix problems and polish please.

Update (2022-01-25): Rene Ritchie:

What quality of life improvements would you love to see in iOS 16?

Not major new features, not bug fixes, just little things[…]

Update (2022-01-31): See also: Ryan Jones.

Sparkle 2.0

Sparkle:

Sparkle 2 adds support for application sandboxing, custom user interfaces, updating external bundles, and a more modern architecture which includes faster and more reliable installs.

This has been many years in the making.

Release notes:

Moves extraction, validation, and installation into a submitted launchd agent/daemon with XPC communication

[…]

Adoption of improved atomic-safe updates leveraging APFS

rcmd vs. the Mac App Store

Alin Panaitiu:

The defacto way of reacting to Right Command + some other key is to monitor all key events (yes, just like a keylogger), and discard events that don’t contain the Right Command modifier flag.

Easy peasy, right? Well no, because that’s not allowed on the App Store.

He found a workaround to using the accessibility API:

It turns out that RegisterEventHotKey is plenty fast. So fast that we were able to register the hotkeys only when Right Command was being held, and unregister them when the key was released.

But then got rejected for using a private API to trigger Exposé. The only public way I know to do this is to launch the Mission Control app.

Having to pay upfront is steering away a lot of possible users, but with all that bad UX [for free trials], we decided to not implement any free trial and just sell the app for a one-time fair price.

Finally the rcmd app switcher is in the store:

Can I cycle between windows of the same app?

Unfortunately there’s no macOS API that allows us to focus specific windows of an app.

The Accessibility API would allow this in some manner but it is not allowed on the App Store.

Previously:

Disabling Exception Breakpoint When Running Unit Tests

Brian Webster:

The problem is that I usually have Xcode’s built-in “All Exceptions” breakpoint enabled when debugging my application, but when I run unit tests in Xcode, I have certain unit tests that will throw exceptions and trigger the breakpoint, halting the test until I tell it to continue.

[…]

[Open] up the breakpoints navigator in Xcode, right-click on the exceptions breakpoint, and add !BWIsUnitTesting() to the “Condition” field[…]