what is this error? i am using mutable type but still it does not work!
ERROR IS :
Code is :
ERROR IS :
Code:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'mutate immutable object with deleteCharactersInRange:
Code is :
Code:
NSMutableString *line= [NSMutableString stringWithString:@"here is the string"];
[line deleteCharactersInRange: NSMakeRange(1,9 )];
Last edited: