Featured

1 Sep 2009

Xcode makes it easy to conditionally compile code based on custom precompiler flags that you can define yourself. Combined with the Prefix.pch file and macros, this makes it easy for you to selectively enable parts of your application without needlessly uglifying your code.

I just recently made use of these features to create macros for Pinch Analytics so that I can easily turn it on or off for my builds. I previously voiced concerns on Twitter about the spyware-like ways that Pinch Analytics can be used and Keith blogged about his thoughts at the time (the mainstream tech press picked up on this a little while later; see my links from yesterday for other commentary on the issue, including Pinch Media's response by adding easy-to-implement opt-out).

(more...)

Conditional compilation with precompiler directives in Xcode (an example using Pinch Analytics)

28 Aug 2009

I just did a quick run-through of the various apps I use on a daily basis to see if there were any issues with Snow Leopard. I haven't done any in-depth testing but the following apps launch and appear to work well under Snow Leopard:

Snow Leopard: quick application compatibility tests (CS3 apps appear to work)

28 Aug 2009

Visor for OSX (Visor.bundle) is a lovely Quake-like interface for Terminal that I absolutely couldn't live without. Unfortunately, upgrading to Snow Leopard disables it.

Re-enabling it, thankfully, is very easy: Go to Applications → Utilities, ⌘-click Terminal.app and select Get Info (or press ⌘-i) and check the Open in 32-bit mode checkbox. Finally, start Terminal.app and you should have your beloved Visor back.

(more...)

Getting Terminal Visor for OSX working with Snow Leopard

28 Aug 2009

Snow Leopard WiFi Connection error

I just upgraded to Snow Leopard and immediately found myself severed from the Internet: I couldn't connect to the BTOpenZone WiFi network (or see any other networks) and neither could I connect with my T-Mobile USB stick.

(more...)

Snow Leopard threw me off the web: WiFi and T-Mobile 3G USB Stick connectivity woes

27 Aug 2009

Open in External App iPhone toolbar and tab bar icons

Whenever possible, I try to use existing icons for my apps. I do this for two reasons: firstly, designing a good icon is an art that takes a ridiculous amount of time and practice, and, secondly, using standard icons correctly in your applications makes your app consistent with other applications on the same platform and thus helps it meet user expectations.

(more...)

Open In External App icon for iPhone apps