Migrate to iOS8 and Swift