Permalink
Browse files

avoid 'is ambiguos for type lookup' error under Xcode 10

  • Loading branch information...
magister-ludi-x committed Aug 8, 2018
1 parent 84ad0d7 commit 926048e4249bafcd4d1c72f97799c9ed21abea6d
Showing with 2 additions and 2 deletions.
  1. +2 −2 AudioKit/iOS/AudioKit/User Interface/MultitouchGestureRecognizer.swift
@@ -85,7 +85,7 @@ open class MultitouchGestureRecognizer: UIGestureRecognizer {
public lazy private(set) var touches = [UITouch]()
/// The current gesture recognizer state, as it pertains to the `sustain` setting.
public enum State {
public enum MultitouchState {
/// All touches are ended, and none are being sustained.
case ready
@@ -99,7 +99,7 @@ open class MultitouchGestureRecognizer: UIGestureRecognizer {
}
/// The current multitouch gesture recognizer state.
public var multitouchState: State {
public var multitouchState: MultitouchState {
if touches.isEmpty {
return .ready
} else if touches.filter({ $0.phase != .ended }).isNotEmpty {

0 comments on commit 926048e

Please sign in to comment.