Home Office Audio Amplified
Jul 18, 2020, 12:27 AM
Well, I lasted all of a month on the first pass at an upgraded home office audio setup. While it was a huge step up from the previous, isolated, every-system-for-itself output configuration, there were just a few wrinkles that I wanted to...
Hacking Home Office Audio
Jul 6, 2020, 6:46 PM
Two weeks after WWDC 2020, I’m still slowly soaking in the flood of new features, fixes, and info — only this time from home, with WWDC going virtual. Apple mentioned in their keynote that Messages traffic is up 40% in recent months, with...
Is isIdleTimerDisabled disabled?
May 30, 2020, 1:00 AM
Like so many articles with leading titles, the answer to this one is simple: no, the idle timer still works fine. But that doesn’t mean we can’t have fun exploring a little along the way! This topic came up while introducing support for...
Swift Generics Evolution
Apr 14, 2019, 1:00 AM
Earlier this week, Joe Groff of the Swift Core Team published a massive discussion post on the Swift forums. It discussed a lot of possible changes to the way that generics work in the Swift language, and kicked off the process with a link...
Mac Pro: x86… or ARM?
Apr 5, 2018, 4:55 PM
Of the several lingering rumors around Apple’s hardware strategy, there are two that tend to rise to the top: Will there be ARM Macs, and Where’s my new Mac Pro? Often we think of these separately. ARM chips have been the backbone of...
Feb 22, 2018, 8:19 PM
The debugDescription property has been around for quite awhile. Formally first appearing as a @property on NSObject in iOS 5 and macOS 10.8, it came across into Swift as a member of the CustomDebugStringConvertible protocol, and continues...
Xcoders talk: Objective-C Bridging
Nov 13, 2017, 1:00 AM
As Swift enters its fourth year in public and continues to evolve, it becomes more and more attractive to add new features using the language — but for those of us who are blessed with large legacy codebases, crossing the divide between...
Swift Tricks: Emoji Flags
Aug 31, 2017, 1:00 AM
Toying around with some code on the bus this morning, I came across an interesting fact about region flag emoji. Among the thousands of emoji that the Unicode standard defines, 270 of them represent region flags, each corresponding to a...
Swift Tricks: Searching for Objects by Type
May 14, 2017, 1:00 AM
I was working on an app a few days ago, and managed to nerd snipe myself within a single line of Swift code. I thought it’d make a good short writeup.
Putting Core Data on the Map
Apr 2, 2017, 12:10 PM
Core Data is a powerful framework for all kinds of data persistence, and its NSFetchedResultsController is a key class in many an app. However, its API – especially its delegate protocol – is aimed mostly at table views, and can be a...