December 22, 2011

3 Comments

[Kind of] Private methods in Objective C

Objective C is a very flexible language, but one thing which I have always found missing is a native way to have private methods. I find private methods extremely useful when separating internal logic in a class into reusable methods which are irrelevant outside the scope of that class…

Continue reading...

December 11, 2011

2 Comments

Creating an Alfred Extension 101

This simple tutorial will help you create your first Alfred “Script Extension” to make your Mac speak. For this tutorial, you will need a Mac with Alfred installed, a Powerpack license and your hands.

The extension will work by showing Alfred and using the keyword ‘say’ followed by some text…

Continue reading...

December 8, 2011

11 Comments

Simple, more flexible Obj C Logging

NSLog is a simple way of logging text and values out to Console in your code.

When I first started programming Alfred, I very quickly realised that NSLog didn’t provide me with enough granularity to be particularly useful. I wanted to separate out log messages such that in normal use, I only see significant messages, however I still have the option to see ALL logging if I needed…

Continue reading...

December 4, 2011

8 Comments

Virtual Hosts on your local OS X Apache

If you want to easily mirror multiple live websites locally for super fast and offline development, then read on!

When I reinstall OS X, I very quickly reconfigure Apache to allow for local vhosts. Apache can be a bit of a minefield for configuration and I am by no means an expert, however, these simple steps give a huge amount of benefit as you won’t need to edit apache’s configuration files every time you want to add a new vhost…

Continue reading...

December 4, 2011

1 Comment

Oh no, not another blog!!

pepperrell-desk

I’ve been meaning to start a Mac / development blog for quite some time now… so here goes!

Being a Mac developer working for myself is one of the best life decisions I have ever made. It has been extremely stressful and hard work quite a bit of the time, but it is extremely rewarding once you have some software being used by a large number of happy users, it is one of the best feelings in the world…

Continue reading...
Follow

Get every new post delivered to your Inbox.