Monthly Archives: November 2015

Multiselect UITableView with limited selections

Swift Language

Multiselect UITableView with limited selections Simple example of creating a multi-select UITableView, but allow only a limited number of selected cells. Introduction How to Summary Resources Introduction Table of Contents I wanted a multi-select table view but limit the number of selected cells. The “answers” on StackOverflow were quite awful – which is true > […]

Posted in Swift | 2 Responses

tvOS Framework Target bug

There be bugs here Getting past the simple project stage with your tvOS app? Maybe you’re putting reusable/common code in frameworks and then linking to them from your tv project. What could go wrong? Introduction The Problem Summary Resources Introduction   Table of Contents So I created an Xcode workspace. Then under Framework & Library, […]

Posted in tvOS | Leave a comment

tvOS: playing audio

Playing MIDI on tvOS According to Apple’s App Programming Guide for tvOS, AVFoundation is supported in tvOS. Groovy! Let’s use AVMIDIPlayer to play a file! Set up Result Summary Update Resources Set up Table of Contents AVMIDIPlayer’s init func wants two URLs: one to a MIDI file and another to a SoundFont or DLS file. […]

Posted in MIDI, tvOS | Tagged , | 2 Responses