objective c - NSLocalizedString with format -
how utilize nslocalizedstring
string:
[nsstring stringwithformat:@"is “%@“ still right “%@“ tap “ok“ otherwise tap “change“ take new contact details", individual.contactinfo, individual.name];
when using stringwithformat before i've used in next manner:
[nsstring stringwithformat:@"%d %@", itemcount, nslocalizedstring(@"number of items", nil)];
[nsstring stringwithformat:nslocalizedstring(@"is “%@“ still right “%@“ tap “ok“ otherwise tap “change“ take new contact details", @"query if parm 1 still right parm 2"), individual.contactinfo, individual.name];
objective-c nslocalizedstring
No comments:
Post a Comment