He visto esto por un tiempo y no entiendo por qué este simple código está arrojando un error. Acortado por brevedad:Anexar cadenas a NSMutableString
NSMutableString *output;
...
@property (nonatomic, retain) NSMutableString *output;
...
@synthesize output;
...
// logs "output start" as expected
output = [NSMutableString stringWithCapacity:0];
[output appendString:@"output start"];
NSLog(@"%@", output);
...
// error happens here
// this is later on in a different method
[output appendString:@"doing roll for player"];
¿Alguien puede detectar mi error?
¿Cuál es el error exacto? – outis