Skip to content

Commit

Permalink
Mark old setDrawerPosition as deprecated. Scheduled for deletion in a…
Browse files Browse the repository at this point in the history
… future release.
  • Loading branch information
amyleecodes committed Dec 8, 2017
1 parent cde0257 commit e3b2489
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion PulleyLib/PulleyViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e3b2489

Please sign in to comment.