File tree Expand file tree Collapse file tree
Constrictor/Constrictor/Sugar Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11Pod ::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."
Original file line number Diff line number Diff line change @@ -18,19 +18,19 @@ public struct CenterConstant: Equatable {
1818// MARK: - Modifiers
1919extension 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
3131extension 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}
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ extension EdgeConstant {
5656// MARK: - Operator
5757extension 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,
Original file line number Diff line number Diff line change @@ -26,19 +26,19 @@ extension SizeConstant {
2626// MARK: - Modifiers
2727extension 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
3939extension 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 }
Original file line number Diff line number Diff line change 11PODS:
2- - Constrictor (5.0.0 )
2+ - Constrictor (5.0.1 )
33
44DEPENDENCIES:
55 - Constrictor (from `..`)
@@ -9,7 +9,7 @@ EXTERNAL SOURCES:
99 :path: ".."
1010
1111SPEC CHECKSUMS:
12- Constrictor: 7aee8a905899d469ff0c17d7aa0550dfb934249a
12+ Constrictor: 20d4193f6cd126076f9636eefc66d7f41e18c5ca
1313
1414PODFILE CHECKSUM: 378ecc6ae0c8cd6d7e4d84896a541255c3c32287
1515
You can’t perform that action at this time.
0 commit comments