From e3b248939dabdd1bebbcd22b35da11e086f62599 Mon Sep 17 00:00:00 2001 From: Brendan Lee Date: Fri, 8 Dec 2017 17:17:58 -0500 Subject: [PATCH] Mark old setDrawerPosition as deprecated. Scheduled for deletion in a future release. --- PulleyLib/PulleyViewController.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PulleyLib/PulleyViewController.swift b/PulleyLib/PulleyViewController.swift index e2b6493..18842c1 100644 --- a/PulleyLib/PulleyViewController.swift +++ b/PulleyLib/PulleyViewController.swift @@ -1010,11 +1010,12 @@ open class PulleyViewController: UIViewController, PulleyDrawerViewControllerDel } /** - Set the drawer position, by default the change will be animated. Deprecated. Recommend switching to the other setDrawerPosition method. + Set the drawer position, by default the change will be animated. Deprecated. Recommend switching to the other setDrawerPosition method, this one will be removed in a future release. - parameter position: The position to set the drawer to. - parameter isAnimated: Whether or not to animate the change. Default: true */ + @available(*, deprecated) public func setDrawerPosition(position: PulleyPosition, isAnimated: Bool = true) { setDrawerPosition(position: position, animated: isAnimated)