Update swift demo for xcode 6.
Merge pull request #2 from ufosky/master

Update swift demo for xcode 6.