stringByAppendingFormat not working
Posted
by iFloh
on Stack Overflow
See other posts from Stack Overflow
or by iFloh
Published on 2010-05-11T14:36:04Z
Indexed on
2010/05/11
14:44 UTC
Read the original article
Hit count: 166
objective-c
I have an NSString and fail to apply the following statement:
NSString *myString = @"some text";
[myNSString stringByAppendingFormat:@"some text = %d", 3];
no log or error, the string just doesn't get changed. I already tried with NSString (as documented) and NSMutableString.
any clues most welcome.
© Stack Overflow or respective owner