NSAlert, ok

October 18, 2012   ·   0 Comments

Screen Shot 2012-10-19 at 7.48.47 AM

-(void)Fun_alert_ok {
    
    NSAlert *t_NSAlert=[[NSAlert alloc] init];
    [t_NSAlert addButtonWithTitle:@"How are you?"];
    [t_NSAlert setMessageText:@"How is your day?"];
    [t_NSAlert setInformativeText:@"Like it"];
    [t_NSAlert setAlertStyle:NSWarningAlertStyle];
    [t_NSAlert beginSheetModalForWindow:self.window
               modalDelegate:self
               didEndSelector:nil
                            contextInfo:nil];

}

shareShare on FacebookShare on Google+Share on LinkedInEmail this to someonePrint this pageBuffer this pageDigg thisFlattr the authorShare on RedditPin on PinterestShare on StumbleUponShare on TumblrTweet about this on Twitter

By


Readers Comments (0)


You must be logged in to post a comment.

PowenKo’s Online Store

powenko_arduinoBook
MAC139

MAC

Amazon

adsbygoogle

Recent Posts

Categories

Amazon