The following code is making my app crash at line 3 without an error I would recognize or know how to deal with. Any ideas as to what I am doing wrong?
NSInteger *match = [str1 intValue] + [str2 intValue];
NSString *strrep = [NSString stringWithFormat:@"%i", match];
label.text = [strrep substringWithRange:NSMakeRange(1,3)];
I suggest you break line 3 into two lines, in order to isolate the issue.
If I had to guess, I’d say label has probably been released somewhere, and you are trying to assign to a bad location.