I have an NSMutableString
called makeString
. I want to create it at the beginning of my program without having to set its text. I then want to be able to set its text. I am currently using the following to create it.
NSMutableString *make2String = [[NSMutableString alloc] initWithString:@""];
I am then using the following to set its text value.
make2String = [NSString stringWithFormat:@"Gold.png"];
Is this ok to do or is there a better way to set an NSMutableString
's text?