Skip to content

Instantly share code, notes, and snippets.

@whiskey
Last active December 22, 2015 21:49
Show Gist options
  • Select an option

  • Save whiskey/6535877 to your computer and use it in GitHub Desktop.

Select an option

Save whiskey/6535877 to your computer and use it in GitHub Desktop.
POSIX my ASS!
#import <Foundation/Foundation.h>
int main(int argc, const char * argv[])
{
@autoreleasepool {
NSString *helloString = @"Hello, World!";
NSLog(@"Hello, static World!");
NSLog(@"%@", helloString);
printf("hello POSIX world");
printf("%s",helloString.UTF8String);
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment