1900K |
Friday, January 15, 2016
Thursday, January 14, 2016
Swift: Dialog box
Initialization:
var alertController = UIAlertController(title: "Title", message: "Message", preferredStyle: .Alert)
ラベル:
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,
ダイアログボックス
Wednesday, January 13, 2016
Subscribe to:
Posts (Atom)