Objective C tutorial

Learn iPhone programming the dated and not particularly funny way.

@implementation Wind
-(int) Blow {
	int roadCount;
	NSSet allRoads;
	Man man;

	roadCount = 0;
	for (Road aRoad in allRoads) {
		[man walkDown:aRoad];
		if ([man isAMan]) {
		} else {
	return roadCount;

@implementation BestClassOfAllTime
-(void) run {
	NSSet allLadies;
	try {
		for (Lady lady in allLadies) {
			if (lady.isSingle) {
				[lady putHand:UP];
	} catch (NSExceptionLiked) {
		throw(exception("Ring not found."));

0 thoughts on “Objective C tutorial”

  1. You know, there has been a distinct lack of good programmer humor in the world lately, and I applaud your work. NSExceptionLiked…genius!

Leave a Reply

Your email address will not be published. Required fields are marked *