Though there are some really nice OS X command line tools, there is not really much information available on how to write, build and distribute them. This is like in old times when you had to experiment and try out something in order to get it to work. Nevertheless I collected some links that may help in writing command line tools for OS X.
Have you ever wondered how the SMLoginItemSetEnabled function works? How to remove an application from launching at login from outside that application? Well, read on.
If you are using Brow to synchronize your Chrome and Firefox bookmarks with Spotlight, it is quite easy to also bring them to Alfred, the popular productivity application.
Have a bundle identifier like com.apple.Safari and want to know which applications are associated with it and where on your system you have installed instances of the application?
I have a lot of snippets that I found somewhere on the web, ages ago, or created myself. They solve small problems and range from making OS X working better to Cocoa development issues. Until now I didn’t have any central location for storing them, but will now begin publishing them on my blog, not least with the hidden agenda to not have them stored locally anymore.
Today: After each update of an app I bought in the Mac App Store, my Finder’s context menu shows duplicate entries for that app. Clean up this mess with two (well-known) Terminal commands.
Last spring I blogged about Brow, a new app I prepared to sync my Firefox and Chrome bookmarks with Spotlight. Though this was not impossible, it was tricky from a design point of view, as I wanted to bring Brow to the Mac App Store and Brow had to run in a sandbox. Apple rejected the app for a bug they, but not I, experienced, and I didn’t touch Brow for some months after that setback.
Since a couple of weeks, I use the PieCrust static website generator to bake this blog locally on my computer before syncing it with my website. Although there is a learning curve, working with PieCrust proved to be generally easy, with the one exception of setting up a RSS feed for my blog.
December 31, 2012
—
Links
Quite often I stumble upon interesting, innovative content on the web, like we probably all do. Months and years later I still remember that I once found something on a specific topic but of course I didn’t bookmark anything and have trouble finding it again. I will therefore from now on publish a selection of nice web content links I want to remember on my blog here and there.
December 27, 2012
—
Cocoa
We all know that the user interfaces of OS X apps are becoming more and more differentiated. Apple as well as third party developers slowly move away from the once authoritative OS X Human Interface Guidelines and create not only new user interface elements, but a whole new experience of interacting with applications, at least partly borrowing from iOS innovations.
It is not that easy for an Mac indie developer to follow this trend if he or she doesn’t have at least some graphical and design talent. It is therefore not by chance that so far I have been rather traditional in my approaches. Now, however, I used some free time over the holidays and created a set of custom button controls.