This is a port of Apple's iOS7 era project WiTap. According to the release notes, it's current as of Version 2.1, 2014-08-05 https://developer.apple.com/library/content/samplecode/WiTap/Introduction/Intro.html
Please share any best practices that occurred after Version 2.1, 2014-08-05, since this is a line-by-line port.
Some assistance on porting this is located here http://stackoverflow.com/q/44034733/328397