Define tagged constraints API

This commit is contained in:
Robert Payne 2015-01-27 01:35:10 +13:00
parent 0b687e37bd
commit 0713a9517d
1 changed files with 20 additions and 0 deletions

View File

@ -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> {