I am trying to have a user-entered time delay (that they input in minutes) and multiply it by 60 to get the number of seconds. Here's my code, but I get an error:
I'm getting an "Expected ':' before '}' token" error, but since it's xcode, there's a 0% chance that's the actual problem. I think it's because I used "int * 60". I'm coming from years of applescript, and I thought math worked the same way, but I guess not. I HAVE been searching google and mroogle for 45 minutes now, and i got nothing. Please help me!
Code:
int alertDelayIntPre = [alertDelayString intValue];
int alertDelayInt = [alertDelayIntPre * 60];