Parsing the command line in Objective-C

January 14th, 2009 | No Comments | Tagged as , ,

Decision into which platform to rewrite the shell script to retrieve the stock quotes using Google API was a simple one – I would like to use Objective-C to be able to run the program on a Mac (and later hopefully on my iPod touch too). I began exploring the Objective-C only recently so I considered to be a good exercise to learn about basic Foundation classes by writing a class to parse command line arguments (instead of using the obvious getopt choice).

Read more