Update ViewController.swift

update for xcode6.1
Merge pull request #10 from orchan/patch-1

Update ViewController.swift to support Xcode 6.1.