I’m sure there are more idiomatic or even efficient ways of doing it, but here is how I converted JSON data to CSV output.
Swift
Making progress with Consolation version 2: working out how to export useful data from JSON log excerpts. A punch-up in the Swift Playground.
Using preference files comes with remarkably little effort when writing them in Swift and Xcode.
I was dreading its conversion from an ordinary Cocoa app into an architecture which supported multiple windows. Would Xcode co-operate?
Here’s a tool which lets AppleScript and anything else which can run a shell command make an entry in Sierra’s logs.
It’s time to think of summer: that means macOS 10.13, APFS, and the future of scripting. Is Swift a suitable language?
How complex is the code needed for an app like Consolation? Most of it is actually straightforward if not simple.
How to implement grouped radio buttons, the benefits of Swift, and an alpha for the fearless.
Covers NSAlert, NSSavePanel, and more. Includes modal alerts, setting contents of text boxes and popup menus, File Save dialog.
Covers Process, NSPredicate, running Swift from command line, Xcode playgrounds. Lots on running commands.
