I have an application with the following category for NSString:
@interface NSDate(ISO8601Parsing)
+ (NSDate *)dateWithString:(NSString *)str strictly:(BOOL)strict getRange:(out NSRange *)outRange;
+ (NSDate *)dateWithString:(NSString *)str strictly:(BOOL)strict;
+ (NSDate *)dateWithString:(NSString *)str timeSeparator:(unichar)timeSep getRange:(out NSRange *)outRange;
+ (NSDate *)dateWithString:(NSString *)str timeSeparator:(unichar)timeSep;
+ (NSDate *)dateWithString:(NSString *)str getRange:(out NSRange *)outRange;
+ (NSDate *)dateWithString:(NSString *)str;
@end
The category is in the final application, not in the static library. When I use the application on the iPhone (3GS with iOS4), there are no problems with both the application and the tests. When I use the iPhone simulator, my added methods are not called. Debugging I saw that xcode “skips” the call and returns null, very strange. Any suggestion? Thank you Jean
source
share