Update ViewController.swift

update for xcode6.1