SyntaxFix
Write A Post
Hire A Developer
Questions
Why do you have the brackets around digit? It should be
digit
NSLog("%@", digit);
You're also missing an = in the first line...
=
NSString *digit = [[sender titlelabel] text];