A great example of the frustration that comes from SwiftUI:
I wanted to handle my app being opened by URL (see yesterday's query; more on that later) and I assumed I had to handle this via AppDelegate.
That didn't work.
[1/4]
So I tried to handle it via SceneDelegate. That was a bit of a dance to figure out how to get the SceneDelegate specified in the first place, but I was able to achieve that.
However, it wasn't responding to being opened by URL either.
[2/4]
Finally I stumbled on the below forum post accidentally, and realized it's as simple as:
.onOpenUrl { url in
// ✨ do magic ✨
}
This is great! But it took me nearly an hour to figure it out.
@1Password trying the 8 beta for Mac. Is it possible for 1Password to stay resident *without* the menu bar icon?
1) Turn off menu bar icon 2) Close 1P 3) Click the 1P extension icon in the toolbar
Expected: password entry via extension
Actual: full app opens 🤨
(1/3)
@1Password (Also, PS: the extension's toolbar icon should either be monochrome or have the option for monochrome)
4) Enter password in the full app
Expected: Extension sees I'm logged in and presents passwords for current website
Actual: It just sits and spins
(2/3)
@1Password This seems to be fixed by allowing 1Password 8 to stay resident in my menu bar, but I *don't* want that. I want the daemon/whatever running *but invisible*.
I propose a temperature scale that works like this. It should end all the bickering between °F and °C
100: you’re alive, but don’t want to be 🥵
80s: hot
70s: perfect
60s: nice
50s: brisk
40s: cold
30s: freezing
0: you’re alive, but don’t want to be 🥶
We can all agree that most places people will want to live will be right in the middle, but we’ll leave flexibility on either end for extremes.
Thus, any reasonable climate will flex from 0° ↔ 100°. Like percent.
However, < 0° and > 100° are possible, just not recommended.
Again, the new system is basically a percentage, which is lovely. It is built around the lived experience of a human being — not something silly like when water boils.
Every band of ~10 degrees is broadly analogous. But the difference between each degree is indeed noticeable.