Prerequisite is XCode 6. Currently this code does not run in XCode 6.1