Skip to content

Commit

Permalink
Merge pull request #204 from Coeur/availability
Browse files Browse the repository at this point in the history
deprecated value can only be used for iOS or tvOS version
  • Loading branch information
msaps authored Mar 11, 2019
2 parents 50b1a48 + 9fa11eb commit ff9f1f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/Pageboy/UIViewController+Pageboy.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ extension UIViewController {

/// The parent PageboyViewController.
/// Available from any direct child view controllers within a PageboyViewController.
@available(*, deprecated: 3.1.0, message: "Use pageboyParent")
/// Deprecated in Pageboy 3.1.0.
@available(*, deprecated, message: "Use pageboyParent")
public var parentPageboy: PageboyViewController? {
return pageboyParent
}
Expand Down

0 comments on commit ff9f1f0

Please sign in to comment.