Xcode

macOS Development, Xcode

Sample Code to Make your Mac App Open at Launch and How to Handle Global Keyboard Shortcuts

After my post last week about the updates I made to my audio app Ears, longtime internet buddy @macrael asked:

@tylerhall Do you use libraries for the hotkey-setting UI or the start-on-launch stuff? I’m putting together my first Mac app and am looking into those parts rn.

I do, actually. In addition to replying to MacRae on the nightmare birdsite, I thought I’d post the two helper projects here for anyone else searching.

Read More
iOS Development, Open Source, Xcode

BespokeApp

I really don’t know if anyone has a need for this other than me. But I’ve built this app a few times for myself in the past, so last night I finally took the initiative to make it generic and reusable – both for my future self and anyone else who might find it useful.

It’s called BespokeApp. It’s a simple iOS app that gives you a tabbed web browser with the pre-defined websites of your choosing.

Read More
macOS Development, Programming, Xcode

The Stack View is a Liar

…Firing up Xcode’s wonderful view debugger, however, completely blew my mind and shattered any remaining self-confidence I had as an app developer. And then nearly an hour later I’m really questioning everything I thought I knew about ones and zeroes until a google search leads me to this page. And, sure enough, my bug is spelled out right there.

Read More
Indie Business, iOS Development, macOS Development, Open Source, Xcode

DefaultApp

DefaultApp is an open source starting point a template. I maintained it in Objective-C for over a decade before finally porting it to Swift in 2018. Anytime I start a new app big or small, whether or not it’s something I plan on releasing publicly or if it’s just a small prototype or utility app I’m building for myself I start with this project.

With DefaultApp I can go from initial idea to writing actual code in thirty seconds.

That said, I would’t use this as the basis for a billion dollar corporation’s enterprise app. Or with a team of “100 engineers” “solving hard problems”. But if you’re a one-person development shop or a team of just two or three engineers building a typical macOS shoebox or document based app? Please take a look.

Read More