Make it compile with Xcode 5 (llvm 5.0)

NSString is not an NSValue. Apple recommends using this NSValue class method (https://developer.apple.com/library/mac/documentation/cocoa/Conceptual/NumbersandValues/Articles/Values.html ). I'm not sure if the value doesn't need to be a *value, so you might want to double check.