Friday, January 15, 2016

Smashing Theory in Smashing Theory in Smashing Theory 1900K

Smashing Theory in Smashing Theory in Smashing Theory 1900K

Smashing Theory in Smashing Theory 1900K

Smashing Theory in Smashing Theory 1900K

Smashing Theory 1900K

1900K

Thursday, January 14, 2016

Swift: Dialog box

Initialization:
var alertController = UIAlertController(title: "Title", message: "Message", preferredStyle: .Alert)

iOS8: Objective-C: Dialog box

Initialization:
UIAlertController *alertController = [UIAlertController alertControllerWithTitle:@"Title" message:@"Message" preferredStyle:UIAlertControllerStyleAlert];

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];

Javascript: Dialog box

Code 1:
window.alert("Dialog");

Code 2:
alert("Dialog");

AppleScript: Dialog box

Code 1:
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

Sue Goodbye

Bragi: The Verge review