ViewDeck in Swift, using iOS 8 APIs