In hexStringFromColor Xcode 4.5 Warns: Format specifies type 'unsigned int' but the argument has type 'UInt32' (aka 'unsigned long'). Suggests changing to @"%0.6lX"