How to get char/ CCharin Swift? I need to call the following method:
- (void)registerOption:(NSString *)longOption shortcut:(char)shortOption requirement:(GBValueRequirements)requirement;
I can pass an ASCII char form, but this is annoying. Is there an easy way to get char at a specific index in a string?
source
share