Created
June 19, 2012 15:16
-
-
Save rraallvv/2954726 to your computer and use it in GitHub Desktop.
Convert NSString to char array
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSString *s = @"Some string"; | |
const char *c = [s UTF8String]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment