Hi, how to convert NSInteger to NSString datatype?
i tried.. month is NSInteger....
NSString *inStr = [NSString stringWithFormat:@"%d", [month intValue]];
any help please?
Hi, how to convert NSInteger to NSString datatype?
i tried.. month is NSInteger....
NSString *inStr = [NSString stringWithFormat:@"%d", [month intValue]];
any help please?
NSIntegers are not objects, you treat them like int
type variables:
NSString *inStr = [NSString stringWithFormat:@"%d", month];