Skip to content

Commit b91a64a

Browse files
author
Luc Dion
committed
Update
1 parent ccdc2e0 commit b91a64a

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

Sources/Extensions/PEdgeInsets+Operators.swift

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11

22
public extension PEdgeInsets {
3-
public func inset(_ value: CGFloat) -> PEdgeInsets {
4-
return PEdgeInsets(top: self.top + value,
5-
left: self.left + value,
6-
bottom: self.bottom + value,
7-
right: self.right + value)
8-
}
9-
10-
public func insetBy(dx: CGFloat, dy: CGFloat) -> PEdgeInsets {
11-
return PEdgeInsets(top: self.top + dy, left: self.left + dx, bottom: self.bottom + dy, right: self.right + dx)
12-
}
13-
143
public func minInsets(_ insets: PEdgeInsets) -> PEdgeInsets {
154
return PEdgeInsets(top: minValue(self.top, minValue: insets.top),
165
left: minValue(self.left, minValue: insets.left),

TestProjects/cocoapods/ios/PinLayout-iOS.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,12 @@
172172
inputPaths = (
173173
"${SRCROOT}/Pods/Target Support Files/Pods-PinLayout-iOS/Pods-PinLayout-iOS-frameworks.sh",
174174
"${BUILT_PRODUCTS_DIR}/PinLayout/PinLayout.framework",
175+
"${BUILT_PRODUCTS_DIR}/SwifterSwift/SwifterSwift.framework",
175176
);
176177
name = "[CP] Embed Pods Frameworks";
177178
outputPaths = (
178179
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/PinLayout.framework",
180+
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SwifterSwift.framework",
179181
);
180182
runOnlyForDeploymentPostprocessing = 0;
181183
shellPath = /bin/sh;

TestProjects/cocoapods/ios/Podfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,10 @@ target 'PinLayout-iOS' do
77
#pod 'PinLayout'
88
#pod 'PinLayout', :git => 'https://github.com/layoutBox/PinLayout.git', :commit => 'f29519b08890da144772fe9b082cd6499b5d82c1'
99
pod 'PinLayout', :path => '../../..'
10+
11+
12+
# Include popular libraries that include UIKit classes extensions to check conflicts with PinLayout.
13+
pod 'SwifterSwift'
14+
1015
end
1116

0 commit comments

Comments
 (0)