This was some what misleading as the error really referred to what was being returned from the method.
- (NSString)formatPrice:(NSNumber *)priceNumber
The problem was the leading (NSString), which was a typo that should have been (NSString *). Once that change was made, the code compiled and ran correctly.
1 comment:
Thank you !
Have just spent hours troubleshooting this issue.
Ben
Post a Comment