摘要:
#define NSLog(FORMAT, ...) printf("%s\n", [[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String])#import int main(int argc, const char * argv[... 阅读全文
摘要:
#import int main(int argc, const char * argv[]) { @autoreleasepool { //如何将字符串@“ abc123.xyz789”倒置 NSMutableString *str=@" abc123.xyz789"; N... 阅读全文
摘要:
#import #define NSLog(FORMAT, ...) printf("%s\n", [[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String])int main(int argc, const char * argv[... 阅读全文
摘要:
NSNumber转NSString:假设现有一NSNumber的变量A,要转换成NSString类型的B方法如下:NSNumberFormatter* numberFormatter = [[NSNumberFormatteralloc]init];B= [numberFormatterstring... 阅读全文