From 5bf40939bfef9822d24a7811a942f71a41741bc5 Mon Sep 17 00:00:00 2001 From: Jeff Verkoeyen Date: Tue, 8 Nov 2016 14:09:18 -0500 Subject: [PATCH] Add a recommendation to the timingFunction deprecation message. Reviewers: O4 Material Motion Apple platform reviewers, O2 Material Motion, markwei Reviewed By: O4 Material Motion Apple platform reviewers, O2 Material Motion, markwei Tags: #material_motion Differential Revision: http://codereview.cc/D1888 --- src/Tween.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tween.swift b/src/Tween.swift index cc1354e..2143b4b 100644 --- a/src/Tween.swift +++ b/src/Tween.swift @@ -96,7 +96,7 @@ public final class Tween: NSObject, Plan { A nil timing function indicates linear pacing. */ - @available(*, deprecated, message: "No replacement API. Deprecated in v1.2.0.") + @available(*, deprecated, message: "Use timingFunction = [timingFunction] instead. Deprecated in v1.2.0.") public var timingFunction: CAMediaTimingFunction? /** Initializes a tween instance with its required properties. */