Category Archives: iOS

iOS MIDI interfaces

iOS MIDI Interfaces Here are a few current MIDI interfaces for iOS devices with Lightning connectors. If you know of any others, please let me know. Click the images to go to the product page. IK Multimedia iRig MIDI 2 iRig Pro Universal AUDIO/MIDI interface for iOS devices and macs iConnectMIDI1 Lightning Version, 1-in 1-out […]

Also posted in MIDI | 4 Responses

Unit testing async network calls in Swift

Swift Language

Asynchronous unit testing in Swift You have probably written code with a NSURLSessionDataTask that notifies a delegate when the data is received. How do you write a unit test for that? Introduction The Test Summary Resources Introduction Let’s stub out some typical code. Here a an API function that takes perhaps a REST endpoint and […]

Also posted in Swift | Tagged , , | Leave a comment

Apple’s new Swift language

Swift Language

Apple has introduced a new programming language at WWDC14. The Swift Language has been years in the making. It combines the features of many other languages, including scripting languages. It has the potential to replace Objective-C as the primary development language on Apple devices. I first used Objective-C back in the late 80s when I […]

Also posted in Apple, Objective-C | Tagged , , , | Leave a comment

iOS Audio Unit Graph

Apple’s Core Audio API is very powerful. It is also not easy. With Great Power comes Great Heartburn when the documentation is out of date and/or scattered. Sometimes the needs of the few outweigh the needs of the many as in the case of conference talks. At WWDC 2011, session 411 was named “Music in […]

Posted in iOS | Tagged , | 4 Responses