Fix OSX deprecation

This commit is contained in:
Robert Payne 2016-08-08 11:08:22 +12:00
parent 6aca61ac93
commit e039522882
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ public extension ConstraintView {
public var snp_baseline: ConstraintItem { return self.snp.baseline } public var snp_baseline: ConstraintItem { return self.snp.baseline }
@available(*, deprecated:0.40.0, message:"Use newer snp.* syntax.") @available(*, deprecated:0.40.0, message:"Use newer snp.* syntax.")
@available(iOS 8.0, OSX 10.11, *)
public var snp_lastBaseline: ConstraintItem { return self.snp.lastBaseline } public var snp_lastBaseline: ConstraintItem { return self.snp.lastBaseline }
@available(iOS, deprecated:0.40.0, message:"Use newer snp.* syntax.") @available(iOS, deprecated:0.40.0, message:"Use newer snp.* syntax.")