Alan Quatermain

The Tumblog of one Jim Dovey, iOS Software Chief Architect at Kobo in Toronto, Ontario.
He Twitters, he has an , and can occasionally be found on LinkedIn or Facebook.
If you have a query, you can ask it here.

This blog contains personal opinions, and is not endorsed by any company.

6198829468

Fun with Objective-C: Parsing Mathematical Expressions

funwithobjc:

A while ago, I was looking for a library to parse NSString objects as mathematical expressions. I wanted to be able to take a string like @"2+3*4" and get back 14. I found two easy ways to do this: GCMathParser and NSPredicate (of course!).

GCMathParser is a library by Graham Cox for…

There’s so much awesome in this post that I think I just peed myself.

33 notes

  1. anjerodesu reblogged this from funwithobjc
  2. do-nothing reblogged this from funwithobjc
  3. quatermain reblogged this from funwithobjc
  4. funwithobjc posted this