Category Archives: Application Development

Launching the Terminal app from Xcode on OS X with System Integrity Protection

If you occasionally use Xcode to create command line tools or applications, chances are that you’ve set up a scheme to launch those applications in the Terminal app from within Xcode, something like this: You then pass your app as … Continue reading

Posted in Application Development | Tagged , , , | Leave a comment

A simple JavaScript singleton pattern

There are a number of different approaches that can be taken to creating singleton patterns in JavaScript – this one is both simple and effective and supports lazy initialisation. The following code shows typical usage of constructor functions:

#1: … Continue reading

Posted in Application Development, JavaScript | Tagged , , , , | Leave a comment

More Flexibility with Magnets in Omnigraffle

Like a lot of Mac users I’m a big fan of the Omni Group’s Omnigraffle. One of the areas where Omnigraffle really excels over other diagramming software is in its handling of connections. Connections, which are so often a source … Continue reading

Posted in Application Development, Scripting | Tagged , , , | 5 Comments