Fun with Objective-C: Parsing Mathematical Expressions
A while ago, I was looking for a library to parse
NSStringobjects as mathematical expressions. I wanted to be able to take a string like@"2+3*4"and get back14. I found two easy ways to do this:GCMathParserandNSPredicate(of course!).
GCMathParseris a library by Graham Cox for…
There’s so much awesome in this post that I think I just peed myself.
38 notesShowHide
-
kaycee-fisher reblogged this from funwithobjc
-
cami-keller reblogged this from funwithobjc
-
phipes likes this
-
cfrs likes this
-
nevyn likes this
-
wakameeeeeeeeee likes this
-
douglas9 likes this
-
anjerodesu reblogged this from funwithobjc
-
anjerodesu likes this
-
zoli likes this
-
jcg1013 likes this
-
dangbit likes this
-
notquiteeuler likes this
-
haft likes this
-
stimu likes this
-
do-nothing reblogged this from funwithobjc
-
digdog likes this
-
quatermain reblogged this from funwithobjc and added:
There’s so much awesome in this post that I think I just peed myself.
-
funwithobjc posted this