23 Aug 2002
A Cocoa geek’s Switch commercial
A Cocoa geek’s Switch commercial:
switch (currentComputerType) { case NSMacintoshComputerType: return; /*already using a Mac*/ case NSWindowsComputerType: case NSLinuxComputerType: default: [self setComputer: [NSMacintosh MacintoshWithJaguar]]; } /*switch*/