mirror of https://github.com/SnapKit/SnapKit
Rename maker to make
This commit is contained in:
parent
91d1c56daf
commit
0f58b26596
|
@ -68,15 +68,15 @@ public extension View {
|
|||
public var snp_centerWithinMargins: ConstraintItem { return ConstraintItem(object: self, attributes: ConstraintAttributes.CenterWithinMargins) }
|
||||
#endif
|
||||
|
||||
public func snp_makeConstraints(block: (maker: ConstraintMaker) -> ()) {
|
||||
public func snp_makeConstraints(block: (make: ConstraintMaker) -> ()) {
|
||||
ConstraintMaker.makeConstraints(self, block: block)
|
||||
}
|
||||
|
||||
public func snp_updateConstraints(block: (maker: ConstraintMaker) -> ()) {
|
||||
public func snp_updateConstraints(block: (make: ConstraintMaker) -> ()) {
|
||||
ConstraintMaker.updateConstraints(self, block: block)
|
||||
}
|
||||
|
||||
public func snp_remakeConstraints(block: (maker: ConstraintMaker) -> ()) {
|
||||
public func snp_remakeConstraints(block: (make: ConstraintMaker) -> ()) {
|
||||
ConstraintMaker.remakeConstraints(self, block: block)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue