var alertController = UIAlertController(title: "Title", message: "Message", preferredStyle: .Alert)
Showing posts with label ダイアログボックス. Show all posts
Showing posts with label ダイアログボックス. Show all posts
Thursday, January 14, 2016
Swift: Dialog box
Initialization:
ラベル:
Dialog box,
Swift,
ダイアログボックス
iOS8: Objective-C: Dialog box
Initialization:
UIAlertController *alertController = [UIAlertController alertControllerWithTitle:@"Title" message:@"Message" preferredStyle:UIAlertControllerStyleAlert];
ラベル:
Dialog box,
ダイアログボックス
Objective-C: Dialog box
Initialization:
NSAlert *alert = [[NSAlert alloc] init];
[alert addButtonWithTitle:@"A"];
[alert addButtonWithTitle:@"B"];
[alert setMessageText:@"Message text"];
[alert setInformativeText:@"Informative text"];
[alert setAlertStyle:NSWarningAlertStyle];
ラベル:
Dialog box,
ダイアログボックス
Javascript: Dialog box
Code 1:
Code 2:
window.alert("Dialog");
Code 2:
alert("Dialog");
ラベル:
Dialog box,
Javascript,
ダイアログボックス
AppleScript: Dialog box
Code 1:
Code 2:
display dialog "Dialog" buttons {"A", "B"} default button "B" giving up after 3
Code 2:
display dialog "The Continuation Character test." buttons {"A", "B"} ¬
default button "B" giving up after 3
ラベル:
AppleScript,
Dialog box,
ダイアログボックス
Subscribe to:
Posts (Atom)