Upgraded to Yosemite and XCode 6.1. Needed some modifications to get this code running again.