Update swift demo for xcode 6.