Rename maker to make

This commit is contained in:
Robert Payne 2015-02-11 21:24:53 +13:00
parent 91d1c56daf
commit 0f58b26596
1 changed files with 3 additions and 3 deletions

View File

@ -68,15 +68,15 @@ public extension View {
public var snp_centerWithinMargins: ConstraintItem { return ConstraintItem(object: self, attributes: ConstraintAttributes.CenterWithinMargins) } public var snp_centerWithinMargins: ConstraintItem { return ConstraintItem(object: self, attributes: ConstraintAttributes.CenterWithinMargins) }
#endif #endif
public func snp_makeConstraints(block: (maker: ConstraintMaker) -> ()) { public func snp_makeConstraints(block: (make: ConstraintMaker) -> ()) {
ConstraintMaker.makeConstraints(self, block: block) ConstraintMaker.makeConstraints(self, block: block)
} }
public func snp_updateConstraints(block: (maker: ConstraintMaker) -> ()) { public func snp_updateConstraints(block: (make: ConstraintMaker) -> ()) {
ConstraintMaker.updateConstraints(self, block: block) ConstraintMaker.updateConstraints(self, block: block)
} }
public func snp_remakeConstraints(block: (maker: ConstraintMaker) -> ()) { public func snp_remakeConstraints(block: (make: ConstraintMaker) -> ()) {
ConstraintMaker.remakeConstraints(self, block: block) ConstraintMaker.remakeConstraints(self, block: block)
} }