卷帘窗口 oc

NSWindow *window=[self window];

    NSString *theAction=@"asdf";

    NSString *ok=@"oky";

    NSString *message=@"mesage";

    NSBeginAlertSheet(theAction, ok, nil, nil,window , self,

                      @selector(errorDidEnd:returnCode:contextInfo:), NULL, NULL,

                      @"%@", message);

你可能感兴趣的:(OS,mac,oc)