How to Set Custom Display Values and Localize NSPredicateEditor

Maybe the documentation has disappeared online, or maybe it was only ever available via word-of-mouth fifteen years ago, but I lost about four hours the other night trying to figure out how to make the dropdown choices in my `NSPredicateEditor` show user-friendly names instead their actual key paths.


Categories
macOS Development

A ridiculously dumb brute-force approach to getting around macOS’s security UI and making my software a better experience for my customers

Until Apple gives 3rd party developers a way to properly request the permissions we need to build the apps our customers want, hacks like these are going to be the norm.

Why Many of my Apps Failed And What Comes Next

I’ve started building something new. I’m about four weeks in and already finding it incredibly useful in my day-to-day. I’ve built many different apps over the years, thrown them against the wall, and excitedly watched which ones developed a following and which ones failed miserably. Most of my apps have fallen into two categories. There […]

Nostalgia – Rename Your Photos

I have a problem. Half of my photos come from my iPhone (via the Dropbox uploader), which creates filenames based on the date they were taken. But all the photos from my awesome DSLR are named BLAHBLAH_7001.jpg and BLAHBLAH_7002.jpg. That annoys me. I want all of my filenames to be date based so I can […]

Setting Up NSOutlineView Drag and Drop with Core Data in Cocoa

Last week, I finally got around to building the number-one VirtualHostX feature request – groups/folders in the sidebar. I had put off implementing this feature for years because I never knew quite where to start when it came to Core Data and NSOutlineView. But, with VHX 5.0 coming out later this year, I decided to […]


Categories
macOS Development

Creating a Universal Binary With Xcode 3.2.6

Last week I released a minor update to VirtualHostX. Shortly thereafter, my inbox was flooded with reports of an “unsupported architecture” error on launch. After a quick lipo test I verified that somehow I had managed to build and ship the app as Intel only — no PowerPC support. I went through my git revision […]

Unsupported Architecture When Submitting to Mac App Store

For any Mac developers out there who are seeing the following rejection notice when submitting to the Mac App Store: Unsupported Architecture – Application executables may support either or both of the Intel architectures Make sure you verify that any included frameworks are Intel only. You can do this using the lipo command: lipo -info […]