Skip to content

Commit 8c77a73

Browse files
committed
Merge branch 'layoutBox:master' into master
2 parents e5eb722 + eb3e2a3 commit 8c77a73

File tree

25 files changed

+224
-183
lines changed

25 files changed

+224
-183
lines changed

.ruby-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

.ruby-version_old

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ruby-2.6.6

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
language: objective-c
2-
osx_image: xcode11.5
2+
osx_image: xcode12.5
33

44
cache:
55
- bundler

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@
77

88
# Change Log
99

10+
## [1.9.4](https://github.com/layoutBox/PinLayout/releases/tag/1.9.4)
11+
Released on 2021-05-17
12+
13+
* Update to Xcode 12.5
14+
* Added by [Luc Dion](https://github.com/lucdion) in Pull Request [#223](https://github.com/layoutBox/PinLayout/pull/223)
15+
16+
1017
## [1.9.3](https://github.com/layoutBox/PinLayout/releases/tag/1.9.3)
1118
Released on 2020-12-17
1219

Example/PinLayoutSample.xcodeproj/project.pbxproj

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
24F246141FA8D57100B6332E /* UIImageView+Download.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24F246131FA8D57100B6332E /* UIImageView+Download.swift */; };
4242
24F75B5B1EE5644E008DB567 /* IntroView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24F75B591EE5644E008DB567 /* IntroView.swift */; };
4343
24F75B5C1EE5644E008DB567 /* IntroViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24F75B5A1EE5644E008DB567 /* IntroViewController.swift */; };
44+
B30A278A4301304C7DD08E37 /* Pods_PinLayoutSample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 641BBAE7F09807BD466749F3 /* Pods_PinLayoutSample.framework */; };
4445
C892FA1924A5821E0086A75E /* AutoSizingViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = C892FA1824A5821E0086A75E /* AutoSizingViewController.swift */; };
4546
C892FA1B24A5822B0086A75E /* AutoSizingView.swift in Sources */ = {isa = PBXBuildFile; fileRef = C892FA1A24A5822B0086A75E /* AutoSizingView.swift */; };
4647
C892FA1D24A584010086A75E /* ContentService.swift in Sources */ = {isa = PBXBuildFile; fileRef = C892FA1C24A584010086A75E /* ContentService.swift */; };
@@ -151,6 +152,7 @@
151152
24F246131FA8D57100B6332E /* UIImageView+Download.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "UIImageView+Download.swift"; sourceTree = "<group>"; };
152153
24F75B591EE5644E008DB567 /* IntroView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = IntroView.swift; sourceTree = "<group>"; };
153154
24F75B5A1EE5644E008DB567 /* IntroViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = IntroViewController.swift; sourceTree = "<group>"; };
155+
641BBAE7F09807BD466749F3 /* Pods_PinLayoutSample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_PinLayoutSample.framework; sourceTree = BUILT_PRODUCTS_DIR; };
154156
A35A00E6536E49A548E763E6 /* Pods-PinLayoutSample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PinLayoutSample.debug.xcconfig"; path = "../Pods/Target Support Files/Pods-PinLayoutSample/Pods-PinLayoutSample.debug.xcconfig"; sourceTree = "<group>"; };
155157
C589624E868FCB20F7C10918 /* Pods-PinLayoutSample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PinLayoutSample.release.xcconfig"; path = "../Pods/Target Support Files/Pods-PinLayoutSample/Pods-PinLayoutSample.release.xcconfig"; sourceTree = "<group>"; };
156158
C892FA1824A5821E0086A75E /* AutoSizingViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AutoSizingViewController.swift; sourceTree = "<group>"; };
@@ -181,6 +183,7 @@
181183
isa = PBXFrameworksBuildPhase;
182184
buildActionMask = 2147483647;
183185
files = (
186+
B30A278A4301304C7DD08E37 /* Pods_PinLayoutSample.framework in Frameworks */,
184187
);
185188
runOnlyForDeploymentPostprocessing = 0;
186189
};
@@ -191,6 +194,7 @@
191194
isa = PBXGroup;
192195
children = (
193196
246812FC1F8D013500462E53 /* NotificationCenter.framework */,
197+
641BBAE7F09807BD466749F3 /* Pods_PinLayoutSample.framework */,
194198
);
195199
name = Frameworks;
196200
sourceTree = "<group>";
@@ -524,7 +528,7 @@
524528
isa = PBXProject;
525529
attributes = {
526530
LastSwiftUpdateCheck = 0900;
527-
LastUpgradeCheck = 1030;
531+
LastUpgradeCheck = 1220;
528532
ORGANIZATIONNAME = layoutbox;
529533
TargetAttributes = {
530534
249EFE3E1E64FAFE00165E39 = {
@@ -769,6 +773,7 @@
769773
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
770774
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
771775
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
776+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
772777
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
773778
CLANG_WARN_STRICT_PROTOTYPES = YES;
774779
CLANG_WARN_SUSPICIOUS_MOVE = YES;
@@ -793,12 +798,13 @@
793798
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
794799
GCC_WARN_UNUSED_FUNCTION = YES;
795800
GCC_WARN_UNUSED_VARIABLE = YES;
796-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
801+
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
797802
MTL_ENABLE_DEBUG_INFO = YES;
798803
ONLY_ACTIVE_ARCH = YES;
799804
SDKROOT = iphoneos;
800805
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
801806
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
807+
SWIFT_VERSION = 5.0;
802808
TARGETED_DEVICE_FAMILY = "1,2";
803809
};
804810
name = Debug;
@@ -828,6 +834,7 @@
828834
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
829835
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
830836
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
837+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
831838
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
832839
CLANG_WARN_STRICT_PROTOTYPES = YES;
833840
CLANG_WARN_SUSPICIOUS_MOVE = YES;
@@ -846,10 +853,11 @@
846853
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
847854
GCC_WARN_UNUSED_FUNCTION = YES;
848855
GCC_WARN_UNUSED_VARIABLE = YES;
849-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
856+
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
850857
MTL_ENABLE_DEBUG_INFO = NO;
851858
SDKROOT = iphoneos;
852859
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
860+
SWIFT_VERSION = 5.0;
853861
TARGETED_DEVICE_FAMILY = "1,2";
854862
VALIDATE_PRODUCT = YES;
855863
};
@@ -870,6 +878,7 @@
870878
SWIFT_OBJC_BRIDGING_HEADER = "PinLayoutSample/UI/Examples/PinLayoutSample-Bridging-Header.h";
871879
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
872880
SWIFT_VERSION = 5.0;
881+
TVOS_DEPLOYMENT_TARGET = 9.0;
873882
};
874883
name = Debug;
875884
};
@@ -887,6 +896,7 @@
887896
PRODUCT_NAME = "$(TARGET_NAME)";
888897
SWIFT_OBJC_BRIDGING_HEADER = "PinLayoutSample/UI/Examples/PinLayoutSample-Bridging-Header.h";
889898
SWIFT_VERSION = 5.0;
899+
TVOS_DEPLOYMENT_TARGET = 9.0;
890900
};
891901
name = Release;
892902
};

Example/PinLayoutSample.xcodeproj/xcshareddata/xcschemes/PinLayoutSample.xcscheme

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1030"
3+
LastUpgradeVersion = "1220"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -27,6 +27,15 @@
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
2929
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<MacroExpansion>
31+
<BuildableReference
32+
BuildableIdentifier = "primary"
33+
BlueprintIdentifier = "249EFE3E1E64FAFE00165E39"
34+
BuildableName = "PinLayoutSample.app"
35+
BlueprintName = "PinLayoutSample"
36+
ReferencedContainer = "container:PinLayoutSample.xcodeproj">
37+
</BuildableReference>
38+
</MacroExpansion>
3039
<Testables>
3140
<TestableReference
3241
skipped = "NO">
@@ -39,17 +48,6 @@
3948
</BuildableReference>
4049
</TestableReference>
4150
</Testables>
42-
<MacroExpansion>
43-
<BuildableReference
44-
BuildableIdentifier = "primary"
45-
BlueprintIdentifier = "249EFE3E1E64FAFE00165E39"
46-
BuildableName = "PinLayoutSample.app"
47-
BlueprintName = "PinLayoutSample"
48-
ReferencedContainer = "container:PinLayoutSample.xcodeproj">
49-
</BuildableReference>
50-
</MacroExpansion>
51-
<AdditionalOptions>
52-
</AdditionalOptions>
5351
</TestAction>
5452
<LaunchAction
5553
buildConfiguration = "Debug"
@@ -71,8 +69,6 @@
7169
ReferencedContainer = "container:PinLayoutSample.xcodeproj">
7270
</BuildableReference>
7371
</BuildableProductRunnable>
74-
<AdditionalOptions>
75-
</AdditionalOptions>
7672
</LaunchAction>
7773
<ProfileAction
7874
buildConfiguration = "Release"

Example/PinLayoutSample/UI/Common/BaseFormView.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ class BaseFormView: UIView {
4141
}
4242

4343
deinit {
44-
NotificationCenter.default.removeObserver(self)
4544
}
4645

4746
override func layoutSubviews() {

Example/PinLayoutSample/UI/Examples/CollectionViewExample/HouseCell.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class HouseCell: UICollectionViewCell {
4141
nameLabel.textColor = .white
4242
headerView.addSubview(nameLabel)
4343

44-
/// IMAGE
44+
// IMAGE
4545
mainImage.backgroundColor = .black
4646
mainImage.contentMode = .scaleAspectFill
4747
mainImage.clipsToBounds = true

Example/PinLayoutSample/UI/Menu/MenuView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import UIKit
2121
import PinLayout
2222

23-
protocol MenuViewDelegate: class {
23+
protocol MenuViewDelegate: AnyObject {
2424
func didSelect(pageType: PageType)
2525
}
2626

PinLayout.podspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,22 @@
88

99
Pod::Spec.new do |spec|
1010
spec.name = "PinLayout"
11-
spec.version = "1.9.3"
11+
spec.version = "1.9.4"
1212
spec.summary = "Fast Swift Views layouting without auto layout. No magic, pure code, full control and blazing fast."
1313
spec.description = "Fast Swift Views layouting without auto layout. No magic, pure code, full control and blazing fast. Concise syntax, intuitive, readable & chainable. [iOS/macOS/tvOS/CALayer]"
1414
spec.homepage = "https://github.com/layoutBox/PinLayout"
1515
spec.license = "MIT license"
1616
spec.author = { "Luc Dion" => "luc_dion@yahoo.com" }
1717
spec.source = { :git => "https://github.com/layoutBox/PinLayout.git", :tag => "#{spec.version}" }
1818
spec.source_files = "Sources/**/*.swift"
19-
spec.swift_versions = ['4.2', '5.0']
19+
spec.swift_versions = ['4.2', '5.0', '5.1', '5.2', '5.3']
2020

21-
spec.ios.deployment_target = '8.0'
21+
spec.ios.deployment_target = '9.0'
2222
spec.ios.frameworks = 'Foundation', 'CoreGraphics', 'UIKit'
2323

2424
spec.tvos.deployment_target = '9.0'
2525
spec.tvos.frameworks = 'Foundation', 'CoreGraphics', 'UIKit'
2626

27-
spec.osx.deployment_target = '10.10'
27+
spec.osx.deployment_target = '10.11'
2828
spec.osx.frameworks = 'Foundation', 'CoreGraphics', 'AppKit'
2929
end

0 commit comments

Comments
 (0)