I am trying to create a NSMutableArray out of a NSString. It shouldn't be separated by anything. So if the string is @"0123"
the array should be {@"0", @"1", @"2", @"3", nil}
. But if I use the code bellow it creates an array like {@"0123", nil}
. In the code bellow I also convert a regular array to a mutable array, because I don't know how to do it directly..
NSMutableArray *myMutableArray = [[NSMutableArray alloc] initWithArray:[myString componentsSeparatedByString:@""]];