mirror of https://github.com/SnapKit/SnapKit
Define tagged constraints API
This commit is contained in:
parent
0b687e37bd
commit
0713a9517d
|
@ -84,6 +84,26 @@ public extension View {
|
|||
ConstraintMaker.removeConstraints(self)
|
||||
}
|
||||
|
||||
public func snp_prepareConstraints(tag: String, block: (maker: ConstraintMaker) -> ()) {
|
||||
|
||||
}
|
||||
|
||||
public func snp_enableConstraints(tag: String) {
|
||||
|
||||
}
|
||||
|
||||
public func snp_disableConstraints(tag: String) {
|
||||
|
||||
}
|
||||
|
||||
public func snp_toggleConstraints(tag: String) {
|
||||
|
||||
}
|
||||
|
||||
public func snp_removeConstraints(tag: String) {
|
||||
|
||||
}
|
||||
|
||||
// internal
|
||||
|
||||
internal var snp_installedLayoutConstraints: Array<LayoutConstraint> {
|
||||
|
|
Loading…
Reference in New Issue