inessential by Brent Simmons

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*/