state(forClass:)

Declaration

func state<StateType>(forClass stateClass: StateType.Type) -> StateType? where StateType : GKState