mirror of https://github.com/SnapKit/SnapKit
Bump deprecation notices versioning
This commit is contained in:
parent
ce3bb65b73
commit
d2f259ec5f
|
@ -30,102 +30,102 @@
|
|||
|
||||
public extension ConstraintView {
|
||||
|
||||
@available(*, deprecated=0.20.0, message="Please use newer snp.* syntax.")
|
||||
@available(*, deprecated=0.30.0, message="Please use newer snp.* syntax.")
|
||||
public var snp_left: ConstraintItem { return self.snp.left }
|
||||
|
||||
@available(*, deprecated=0.20.0, message="Please use newer snp.* syntax.")
|
||||
@available(*, deprecated=0.30.0, message="Please use newer snp.* syntax.")
|
||||
public var snp_top: ConstraintItem { return self.snp.top }
|
||||
|
||||
@available(*, deprecated=0.20.0, message="Please use newer snp.* syntax.")
|
||||
@available(*, deprecated=0.30.0, message="Please use newer snp.* syntax.")
|
||||
public var snp_right: ConstraintItem { return self.snp.right }
|
||||
|
||||
@available(*, deprecated=0.20.0, message="Please use newer snp.* syntax.")
|
||||
@available(*, deprecated=0.30.0, message="Please use newer snp.* syntax.")
|
||||
public var snp_bottom: ConstraintItem { return self.snp.bottom }
|
||||
|
||||
@available(*, deprecated=0.20.0, message="Please use newer snp.* syntax.")
|
||||
@available(*, deprecated=0.30.0, message="Please use newer snp.* syntax.")
|
||||
public var snp_leading: ConstraintItem { return self.snp.leading }
|
||||
|
||||
@available(*, deprecated=0.20.0, message="Please use newer snp.* syntax.")
|
||||
@available(*, deprecated=0.30.0, message="Please use newer snp.* syntax.")
|
||||
public var snp_trailing: ConstraintItem { return self.snp.trailing }
|
||||
|
||||
@available(*, deprecated=0.20.0, message="Please use newer snp.* syntax.")
|
||||
@available(*, deprecated=0.30.0, message="Please use newer snp.* syntax.")
|
||||
public var snp_width: ConstraintItem { return self.snp.width }
|
||||
|
||||
@available(*, deprecated=0.20.0, message="Please use newer snp.* syntax.")
|
||||
@available(*, deprecated=0.30.0, message="Please use newer snp.* syntax.")
|
||||
public var snp_height: ConstraintItem { return self.snp.height }
|
||||
|
||||
@available(*, deprecated=0.20.0, message="Please use newer snp.* syntax.")
|
||||
@available(*, deprecated=0.30.0, message="Please use newer snp.* syntax.")
|
||||
public var snp_centerX: ConstraintItem { return self.snp.centerX }
|
||||
|
||||
@available(*, deprecated=0.20.0, message="Please use newer snp.* syntax.")
|
||||
@available(*, deprecated=0.30.0, message="Please use newer snp.* syntax.")
|
||||
public var snp_centerY: ConstraintItem { return self.snp.centerY }
|
||||
|
||||
@available(*, deprecated=0.20.0, message="Please use newer snp.* syntax.")
|
||||
@available(*, deprecated=0.30.0, message="Please use newer snp.* syntax.")
|
||||
public var snp_baseline: ConstraintItem { return self.snp.baseline }
|
||||
|
||||
@available(iOS, deprecated=0.20.0, message="Please use newer snp.* syntax.")
|
||||
@available(iOS, deprecated=0.30.0, message="Please use newer snp.* syntax.")
|
||||
public var snp_firstBaseline: ConstraintItem { return self.snp.firstBaseline }
|
||||
|
||||
@available(iOS, deprecated=0.20.0, message="Please use newer snp.* syntax.")
|
||||
@available(iOS, deprecated=0.30.0, message="Please use newer snp.* syntax.")
|
||||
public var snp_leftMargin: ConstraintItem { return self.snp.leftMargin }
|
||||
|
||||
@available(iOS, deprecated=0.20.0, message="Please use newer snp.* syntax.")
|
||||
@available(iOS, deprecated=0.30.0, message="Please use newer snp.* syntax.")
|
||||
public var snp_topMargin: ConstraintItem { return self.snp.topMargin }
|
||||
|
||||
@available(iOS, deprecated=0.20.0, message="Please use newer snp.* syntax.")
|
||||
@available(iOS, deprecated=0.30.0, message="Please use newer snp.* syntax.")
|
||||
public var snp_rightMargin: ConstraintItem { return self.snp.rightMargin }
|
||||
|
||||
@available(iOS, deprecated=0.20.0, message="Please use newer snp.* syntax.")
|
||||
@available(iOS, deprecated=0.30.0, message="Please use newer snp.* syntax.")
|
||||
public var snp_bottomMargin: ConstraintItem { return self.snp.bottomMargin }
|
||||
|
||||
@available(iOS, deprecated=0.20.0, message="Please use newer snp.* syntax.")
|
||||
@available(iOS, deprecated=0.30.0, message="Please use newer snp.* syntax.")
|
||||
public var snp_leadingMargin: ConstraintItem { return self.snp.leadingMargin }
|
||||
|
||||
@available(iOS, deprecated=0.20.0, message="Please use newer snp.* syntax.")
|
||||
@available(iOS, deprecated=0.30.0, message="Please use newer snp.* syntax.")
|
||||
public var snp_trailingMargin: ConstraintItem { return self.snp.trailingMargin }
|
||||
|
||||
@available(iOS, deprecated=0.20.0, message="Please use newer snp.* syntax.")
|
||||
@available(iOS, deprecated=0.30.0, message="Please use newer snp.* syntax.")
|
||||
public var snp_centerXWithinMargins: ConstraintItem { return self.snp.centerXWithinMargins }
|
||||
|
||||
@available(iOS, deprecated=0.20.0, message="Please use newer snp.* syntax.")
|
||||
@available(iOS, deprecated=0.30.0, message="Please use newer snp.* syntax.")
|
||||
public var snp_centerYWithinMargins: ConstraintItem { return self.snp.centerYWithinMargins }
|
||||
|
||||
@available(*, deprecated=0.20.0, message="Please use newer snp.* syntax.")
|
||||
@available(*, deprecated=0.30.0, message="Please use newer snp.* syntax.")
|
||||
public var snp_edges: ConstraintItem { return self.snp.edges }
|
||||
|
||||
@available(*, deprecated=0.20.0, message="Please use newer snp.* syntax.")
|
||||
@available(*, deprecated=0.30.0, message="Please use newer snp.* syntax.")
|
||||
public var snp_size: ConstraintItem { return self.snp.size }
|
||||
|
||||
@available(*, deprecated=0.20.0, message="Please use newer snp.* syntax.")
|
||||
@available(*, deprecated=0.30.0, message="Please use newer snp.* syntax.")
|
||||
public var snp_center: ConstraintItem { return self.snp.center }
|
||||
|
||||
@available(iOS, deprecated=0.20.0, message="Please use newer snp.* syntax.")
|
||||
@available(iOS, deprecated=0.30.0, message="Please use newer snp.* syntax.")
|
||||
public var snp_margins: ConstraintItem { return self.snp.margins }
|
||||
|
||||
@available(iOS, deprecated=0.20.0, message="Please use newer snp.* syntax.")
|
||||
@available(iOS, deprecated=0.30.0, message="Please use newer snp.* syntax.")
|
||||
public var snp_centerWithinMargins: ConstraintItem { return self.snp.centerWithinMargins }
|
||||
|
||||
@available(iOS, deprecated=0.20.0, message="Please use newer snp.* syntax.")
|
||||
@available(iOS, deprecated=0.30.0, message="Please use newer snp.* syntax.")
|
||||
public func snp_prepareConstraints(@noescape closure closure: (make: ConstraintMaker) -> Void) -> [Constraint] {
|
||||
return self.snp.prepareConstraints(closure: closure)
|
||||
}
|
||||
|
||||
@available(iOS, deprecated=0.20.0, message="Please use newer snp.* syntax.")
|
||||
@available(iOS, deprecated=0.30.0, message="Please use newer snp.* syntax.")
|
||||
public func snp_makeConstraints(@noescape closure closure: (make: ConstraintMaker) -> Void) {
|
||||
self.snp.makeConstraints(closure: closure)
|
||||
}
|
||||
|
||||
@available(iOS, deprecated=0.20.0, message="Please use newer snp.* syntax.")
|
||||
@available(iOS, deprecated=0.30.0, message="Please use newer snp.* syntax.")
|
||||
public func snp_remakeConstraints(@noescape closure closure: (make: ConstraintMaker) -> Void) {
|
||||
self.snp.remakeConstraints(closure: closure)
|
||||
}
|
||||
|
||||
@available(iOS, deprecated=0.20.0, message="Please use newer snp.* syntax.")
|
||||
@available(iOS, deprecated=0.30.0, message="Please use newer snp.* syntax.")
|
||||
public func snp_updateConstraints(@noescape closure closure: (make: ConstraintMaker) -> Void) {
|
||||
self.snp.updateConstraints(closure: closure)
|
||||
}
|
||||
|
||||
@available(iOS, deprecated=0.20.0, message="Please use newer snp.* syntax.")
|
||||
@available(iOS, deprecated=0.30.0, message="Please use newer snp.* syntax.")
|
||||
public func snp_removeConstraints() {
|
||||
self.snp.removeConstraints()
|
||||
}
|
||||
|
|
|
@ -27,22 +27,22 @@
|
|||
|
||||
public extension ConstraintViewController {
|
||||
|
||||
@available(iOS, deprecated=0.20.0, message="Please use newer snp.* syntax.")
|
||||
@available(iOS, deprecated=0.30.0, message="Please use newer snp.* syntax.")
|
||||
public var topLayoutGuideTop: ConstraintItem {
|
||||
return self.snp.topLayoutGuideTop
|
||||
}
|
||||
|
||||
@available(iOS, deprecated=0.20.0, message="Please use newer snp.* syntax.")
|
||||
@available(iOS, deprecated=0.30.0, message="Please use newer snp.* syntax.")
|
||||
public var topLayoutGuideBottom: ConstraintItem {
|
||||
return self.snp.topLayoutGuideBottom
|
||||
}
|
||||
|
||||
@available(iOS, deprecated=0.20.0, message="Please use newer snp.* syntax.")
|
||||
@available(iOS, deprecated=0.30.0, message="Please use newer snp.* syntax.")
|
||||
public var bottomLayoutGuideTop: ConstraintItem {
|
||||
return self.snp.bottomLayoutGuideTop
|
||||
}
|
||||
|
||||
@available(iOS, deprecated=0.20.0, message="Please use newer snp.* syntax.")
|
||||
@available(iOS, deprecated=0.30.0, message="Please use newer snp.* syntax.")
|
||||
public var bottomLayoutGuideBottom: ConstraintItem {
|
||||
return self.snp.bottomLayoutGuideBottom
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue