I use this in C or C ++, that is:
myChar++;
must increment a letter.
I try to do the same in Objective-C, except that I have NSString to start with (NSString is always just one letter). I tried converting NSString to char *, but this method is deprecated and other ways to achieve this do not work.
How do I convert NSString to char * - or is there a way to increment a character in objective-c without requiring char * somehow?
Thanks:)
source share