Skip to content
This repository has been archived by the owner on Nov 21, 2017. It is now read-only.

Commit

Permalink
Add a recommendation to the timingFunction deprecation message.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Jeff Verkoeyen committed Nov 11, 2016
1 parent 6200e00 commit 5bf4093
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tween.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit 5bf4093

Please sign in to comment.