Browse Source

Define tagged constraints API

Robert Payne 11 years ago
parent
commit
0713a9517d
1 changed files with 20 additions and 0 deletions
  1. 20 0
      Snap/View+Snap.swift

+ 20 - 0
Snap/View+Snap.swift

@@ -84,6 +84,26 @@ public extension View {
         ConstraintMaker.removeConstraints(self)
         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
     
     
     internal var snp_installedLayoutConstraints: Array<LayoutConstraint> {
     internal var snp_installedLayoutConstraints: Array<LayoutConstraint> {