Skip to content

Commit e92651b

Browse files
Constrictor 5.0.1
1 parent ea0ea6b commit e92651b

5 files changed

Lines changed: 10 additions & 10 deletions

File tree

Constrictor.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22
s.swift_version = "4.2"
33
s.name = "Constrictor"
4-
s.version = "5.0.0"
4+
s.version = "5.0.1"
55
s.summary = "🐍 Constrict your layout in Swift"
66

77
s.description = "Constrict your Auto Layout code with Constrictor, your chainable sugar."

Constrictor/Constrictor/Sugar/Center/CenterConstant.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@ public struct CenterConstant: Equatable {
1818
// MARK: - Modifiers
1919
extension CenterConstant {
2020

21-
static func centerX(_ value: CGFloat) -> CenterConstant {
21+
public static func centerX(_ value: CGFloat) -> CenterConstant {
2222
return CenterConstant(centerX: value, centerY: 0)
2323
}
2424

25-
static func centerY(_ value: CGFloat) -> CenterConstant {
25+
public static func centerY(_ value: CGFloat) -> CenterConstant {
2626
return CenterConstant(centerX: 0, centerY: value)
2727
}
2828
}
2929

3030
// MARK: - Operator
3131
extension CenterConstant {
3232

33-
static func & (lhs: CenterConstant, rhs: CenterConstant) -> CenterConstant {
33+
public static func & (lhs: CenterConstant, rhs: CenterConstant) -> CenterConstant {
3434
return .init(centerX: lhs.centerX + rhs.centerX, centerY: lhs.centerY + rhs.centerY)
3535
}
3636
}

Constrictor/Constrictor/Sugar/Edge/EdgeConstant.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ extension EdgeConstant {
5656
// MARK: - Operator
5757
extension EdgeConstant {
5858

59-
static func & (lhs: EdgeConstant, rhs: EdgeConstant) -> EdgeConstant {
59+
public static func & (lhs: EdgeConstant, rhs: EdgeConstant) -> EdgeConstant {
6060
return .init(top: lhs.top + rhs.top,
6161
bottom: lhs.bottom + rhs.bottom,
6262
leading: lhs.leading + rhs.leading,

Constrictor/Constrictor/Sugar/Size/SizeConstant.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,19 @@ extension SizeConstant {
2626
// MARK: - Modifiers
2727
extension SizeConstant {
2828

29-
static func width(_ value: CGFloat) -> SizeConstant {
29+
public static func width(_ value: CGFloat) -> SizeConstant {
3030
return SizeConstant(width: value, height: 0)
3131
}
3232

33-
static func height(_ value: CGFloat) -> SizeConstant {
33+
public static func height(_ value: CGFloat) -> SizeConstant {
3434
return SizeConstant(width: 0, height: value)
3535
}
3636
}
3737

3838
// MARK: - Operator
3939
extension SizeConstant {
4040

41-
static func & (lhs: SizeConstant, rhs: SizeConstant) -> SizeConstant {
41+
public static func & (lhs: SizeConstant, rhs: SizeConstant) -> SizeConstant {
4242

4343
return .init(width: lhs.width + rhs.width, height: lhs.height + rhs.height)
4444
}

Example/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PODS:
2-
- Constrictor (5.0.0)
2+
- Constrictor (5.0.1)
33

44
DEPENDENCIES:
55
- Constrictor (from `..`)
@@ -9,7 +9,7 @@ EXTERNAL SOURCES:
99
:path: ".."
1010

1111
SPEC CHECKSUMS:
12-
Constrictor: 7aee8a905899d469ff0c17d7aa0550dfb934249a
12+
Constrictor: 20d4193f6cd126076f9636eefc66d7f41e18c5ca
1313

1414
PODFILE CHECKSUM: 378ecc6ae0c8cd6d7e4d84896a541255c3c32287
1515

0 commit comments

Comments
 (0)