21 lines
460 B
Swift
21 lines
460 B
Swift
//
|
|
// ViewDidAppearState.swift
|
|
// TPGHorizontalMenu
|
|
//
|
|
// Created by David Livadaru on 15/03/2017.
|
|
// Copyright © 2017 3Pillar Global. All rights reserved.
|
|
//
|
|
|
|
import UIKit
|
|
import GameplayKit
|
|
|
|
class ViewDidAppearState: ViewControllerState {
|
|
override var validNextStates: [AnyClass] {
|
|
return [ViewWillDisappearState.self]
|
|
}
|
|
|
|
override func didEnter(from previousState: GKState?) {
|
|
viewController.viewDidAppear(false)
|
|
}
|
|
}
|