Code

By and by I’ve posted some Cocoa source code on this blog. This page collects all this code and provides for easy access. Eventually, I’ll move all code to a GitHub repository. License information is contained within each download or in the accompanying blog post.

Arrow Button

Arrow Button is a set of two OS X Cocoa classes containing custom arrow-shaped NSButton subclasses to be used as a replacement for round textured NSButton instances. Source code is available in my GitHub repository, some usage details have been published in my blog.

The ncMeta Project

The ncMeta Project is a set of classes for having fun with Mountain Lion’s Notification Center. It allows to monitor certain aspects of Notification Center’s behaviour, such as whether the Notification Center is visible or not, and which new notifications (from any app) have been delivered to it. Source code and usage details are available in my GitHub repository, or just download the ncMeta application.

The Launch At Login Sandbox Project

Sample code for implementing launch at login functionality in sandboxed OS X apps. Download the source code from my GitHub Repository and see this blog post for explanations.

Easy Mac App Store Trial Version Code

Sample code for adding trial version code in Mac App Store designated apps. Source code is available here, see this blog post for the tutorial.

Scroll Grabber Code

An unfinished project on how to grab the contents of scroll views of other apps on OS X. Source code download here, explanation in this blog post.

Create Endnote Script

An AppleScript script for easily creating endnotes in the MarsEdit blog editor. Download the script here, see this blog post for details.

PieCrust CMS Feed XML

A file template for creating a RSS feed from within the PieCrust CMS. Explanation available in this blog post.

AppLocator

A tiny Cocoa class for getting the file paths of all instances of an application identified by its bundle identifier. Needs Spotlight to be enabled to work and at least Xcode 4.4 and OS X 10.7. Get the source code and read the introduction.