From f90e15b7d62b7f7102e7827a5a850bcbfa7a0451 Mon Sep 17 00:00:00 2001 From: Jeff Verkoeyen Date: Wed, 19 Apr 2017 16:14:27 -0400 Subject: [PATCH] Add Togglable conformity to Rotatable and Scalable. Reviewers: O2 Material Motion, O4 Material Apple platform reviewers, #material_motion, markwei Reviewed By: O2 Material Motion, O4 Material Apple platform reviewers, #material_motion, markwei Tags: #material_motion Differential Revision: http://codereview.cc/D3076 --- src/interactions/Rotatable.swift | 2 +- src/interactions/Scalable.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/interactions/Rotatable.swift b/src/interactions/Rotatable.swift index 6f06f13..54c64d2 100644 --- a/src/interactions/Rotatable.swift +++ b/src/interactions/Rotatable.swift @@ -30,7 +30,7 @@ import UIKit CGFloat constraints may be applied to this interaction. */ -public final class Rotatable: Gesturable, Interaction, Stateful { +public final class Rotatable: Gesturable, Interaction, Togglable, Stateful { public func add(to view: UIView, withRuntime runtime: MotionRuntime, constraints applyConstraints: ConstraintApplicator? = nil) { diff --git a/src/interactions/Scalable.swift b/src/interactions/Scalable.swift index d208072..1df2bd1 100644 --- a/src/interactions/Scalable.swift +++ b/src/interactions/Scalable.swift @@ -30,7 +30,7 @@ import UIKit CGFloat constraints may be applied to this interaction. */ -public final class Scalable: Gesturable, Interaction, Stateful { +public final class Scalable: Gesturable, Interaction, Togglable, Stateful { public func add(to view: UIView, withRuntime runtime: MotionRuntime, constraints applyConstraints: ConstraintApplicator? = nil) {