xcode - pop-up message on macos programing -
like using uialertview on ios. there should similar solution creating pop-up message on mac os. tried search couldnot useful. can buddy lend hand. lot.
the class you're looking nsalert
. information on class can found in class reference here. , here example of usage:
nsalert *alert = [[nsalert alloc] init]; [alert setmessagetext:@"some awesome message text"]; [alert addbuttonwithtitle:@"ok"]; [alert runmodal];
Comments
Post a Comment