254 posts tagged ‘Mac’
Relative Time Labels
Nikita Prokopov: Why is nobody excited about these “yesterday”/“2 days ago”/“a week ago” labels?Because they pretend to speak human language, but they actually don’t. For a human, yesterday is “at the day before”, “between 0am..11:59pm the day before today”.No human uses “less that 24 hours” as the definition of “yesterday”. Computers, unfortunately, do. Add here […]
Kaleidoscope 4.2
Christopher Atlan (tweet): In the window title bar you’ll see a new element that gives you more detail about the task. You’ll see how many conflicts you still need to resolve in that file.[…]The window has a new area between the title bar and the Path Bar. We call it Context Shelf. […] In the […]
Unit Testing a SwiftUI Query
Helge Heß: I’ve been wondering whether I could unit test a SwiftData Query, i.e. the SwiftUI property wrapper coming w/ SwiftData (in beta6 it is actually a macro). Aka whether I could unit test a SwiftUI view. This requires setting up an execution environment for the view, but surprisingly that actually works 🙂 Here’s the […]
Rescuing Files From Classic Mac OS...with Swift
Jordan Rose: The biggest benefits of doing this project in Swift are very similar to what the benefits would have been for using C++, back in the 90s, but with even more safety. Take directory walking. In C, this looks something like the following: FSIterator *iter; OSStatus err = FSOpenIterator(&directory, kFSIterateFlat, &iter); if (err != […]
No Counter-Strike 2 for Mac
Tim Hardwick (Hacker News): Valve on Monday said it has no plans for a macOS version of the recently released game Counter-Strike 2, the follow-up title replacing the hugely popular FPS Counter-Strike: Global Offensive.[…]Last month’s release of Counter-Strike 2 forced a 26GB update for everyone with CS:GO, including Mac users, but after installation those on […]
Burger King’s Botched Apostrophe Curling
John Gruber: The various “smart quotes” algorithms you get while typing aren’t smart enough to make this contextual distinction — even very good ones — so you need to do it by hand. Here’s how to type them manually[…] Mac Windows Linux Open single quote: ‘ Option-] Alt-0-1-4-5 Use ASCII Close single quote: ’ Shift-Option-] Alt-0-1-4-6 Use ASCII Open […]
The Care and Feeding of Developer ID
Quinn: I regularly see folks run into problems with their Developer ID signing identities. Historically I pointed them to my posts on this thread, but I’ve decided to collect these ideas together in one place.[…]This post focuses on traditional signing identities, where you manage the private key. Xcode Cloud introduced cloud signing, where signing identities […]
Hacking NSAlert Button Appearance
Daniel Jalkut: Notice how the “Bar” and “Baz” buttons do not have a border or background color, making it difficult to know whether they are even buttons at all. The line between Bar and Baz clunks up the interface even more.[…]This exploded view from the Xcode view debugger shows that the top, default button, is […]