#AppleScript Cookbook
##Preface
##Strings
async function loadItems() { | |
let url = "https://midsomerplots.acrossthecloud.net/plot"; | |
let req = new Request(url); | |
let json = await req.loadJSON(); | |
return json; | |
} | |
function createWidget(plot) { | |
let w = new ListWidget() |
override func viewDidLoad() { | |
form | |
+++ Section("Testing") | |
<<< ButtonRow("alert") { (row) in | |
row.title = "Eureka Alert" | |
} | |
.onCellSelection { [weak self] (cell, row) in | |
let vc = FormViewController() | |
#AppleScript Cookbook
##Preface
##Strings