Archive | Development RSS feed for this archive

[Kind of] Private methods in Objective C

December 22, 2011

3 Comments

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...

Simple, more flexible Obj C Logging

December 8, 2011

11 Comments

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...
Follow

Get every new post delivered to your Inbox.