dadidoe
Computer Pro :)
I have the following NSRunAlertPanel:
How can I specify an action for the OK button? I need it to change a BOOL in my apps preference file.
Code:
NSRunInformationalAlertPanel(@"The Serial provided was correct!", @"Thank you for registering WriteIt!.Keep your serial,name you registered with and e-mail you registered at a safe place, it may be needed later. Have fun using WriteIt!", @"OK", nil, nil);
else
NSRunCriticalAlertPanel(@"Serial Incorrect!", @"The Serial you have entered is incorrect.Please try again.", @"Retry", nil, nil);
How can I specify an action for the OK button? I need it to change a BOOL in my apps preference file.