NSString *myStrings = @\"abcdefghijklmnopqrstuvwxyz\";
How could I iterate each of the letters (a, b, c, d, e, etc..) in an Objective-C for>
Enumerate substrings of NSString characters with a block
NSString *characters = @"abcdefghijklmnopqrstuvwxyz";
[characters enumerateSubstringsInRange:NSMakeRange(0, characters.length) options:NSStringEnumerationByComposedCharacterSequences usingBlock:^(NSString * _Nullable substring, NSRange substringRange, NSRange enclosingRange, BOOL * _Nonnull stop) {
NSLog(@"substring: %@ substringRange: %@, enclosingRange %@", substring, NSStringFromRange(substringRange), NSStringFromRange(enclosingRange));
}];