Cocoa Maker 1 - Getting Started
MP4•Episode home
Manage episode 155736472 series 1166832
Content provided by Mr. Gecko. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Mr. Gecko or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.
James (MrGeckosMedia.com), joined by, Eduardo (MegaEduX.com), Nick, and Karl, teaches the basics of installing Xcode, setting up a project and making a "Hello, World!" command line utility.
30:16
Example code from episode.
…
continue reading
30:16
#import <Foundation/Foundation.h> int main (int argc, const char * argv[]) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; NSString *name = @"World"; if (argc>1) { name = [[[NSString alloc] initWithBytes:argv[1] length:strlen(argv[1]) encoding:NSUTF8StringEncoding] autorelease]; } NSLog(@"Hello, %@", name); [pool drain]; return 0; }
7 episodes