Objective-Cで数値〜文字列変換
Objective-Cで数値〜文字列変換
//NSSTring型をInt型に
int intTime = [ @"20" intValue ];
//Int型を文字列に
NSString* strTime;
strTime = [ NSString stringWithFormat : @"%d", 20 ];
Objective-Cで数値〜文字列変換
//NSSTring型をInt型に
int intTime = [ @"20" intValue ];
//Int型を文字列に
NSString* strTime;
strTime = [ NSString stringWithFormat : @"%d", 20 ];