I’m trying to write an app that will load MIDI files. I’ve written a Swfit script that works perfectly, but I’m having trouble with putting that into an app.       override func read(from data: Data, ofType typeName: String) throws {         let theMIDIPlayer =…

Hello,   I’m very new to Swift. I’ve created a Xcode-project for macOS using Cocoa. I’ve alredy programmed a little so it does, what it should. Now I want to import Kitura to my project to offer some webservices. Because the webserver should only serve…

Apple’s documentation says that “Define a capture in a closure as an unowned reference when the closure and the instance it captures will always refer to each other, and will always be deallocated at the same time.”   So if I understand this correctly, Apple…