Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
lucdion committed Mar 20, 2023
1 parent b6dc83b commit ef7491e
Show file tree
Hide file tree
Showing 13 changed files with 32 additions and 22 deletions.
6 changes: 3 additions & 3 deletions PinLayout.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ Pod::Spec.new do |spec|
spec.source_files = "Sources/**/*.swift"
spec.swift_versions = ['4.2', '5.7']

spec.ios.deployment_target = '11.0'
spec.ios.deployment_target = '12.0'
spec.ios.frameworks = 'Foundation', 'CoreGraphics', 'UIKit'

spec.tvos.deployment_target = '11.0'
spec.tvos.deployment_target = '12.0'
spec.tvos.frameworks = 'Foundation', 'CoreGraphics', 'UIKit'

spec.osx.deployment_target = '10.11'
spec.osx.deployment_target = '10.13'
spec.osx.frameworks = 'Foundation', 'CoreGraphics', 'AppKit'
end
8 changes: 4 additions & 4 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,31 @@ use_frameworks!
workspace 'PinLayout.xcworkspace'

target 'PinLayoutTests-iOS' do
platform :ios, "11.0"
platform :ios, "12.0"
project 'PinLayout.xcodeproj'

pod 'Quick'
pod 'Nimble', :inhibit_warnings => true
end

target 'PinLayoutTests-tvOS' do
platform :tvos, "11.0"
platform :tvos, "12.0"
project 'PinLayout.xcodeproj'

pod 'Quick'
pod 'Nimble', :inhibit_warnings => true
end

target 'PinLayoutTests-macOS' do
platform :osx, "10.10"
platform :osx, "10.13"
project 'PinLayout.xcodeproj'

pod 'Quick'
pod 'Nimble', :inhibit_warnings => true
end

target 'PinLayoutSample' do
platform :ios, "11.0"
platform :ios, "12.0"
project 'Example/PinLayoutSample.xcodeproj'

pod 'PinLayout', :path => './'
Expand Down
4 changes: 2 additions & 2 deletions Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
Nimble: 5316ef81a170ce87baf72dd961f22f89a602ff84
PinLayout: 9b3aacc4a5a7c942a8ef6b42b254a448fbf422e5
PinLayout: f8a677ce0cd1cfe96b58435d029b4ceb4ce9c04c
Quick: 749aa754fd1e7d984f2000fe051e18a3a9809179
SwiftLint: 77f7cb2b9bb81ab4a12fcc86448ba3f11afa50c6

PODFILE CHECKSUM: ffb36371c9e8cbd93a7286022fd7690796884a19
PODFILE CHECKSUM: 373beda8a5b3bfadeb1918c9d5c439ae90f949f1

COCOAPODS: 1.12.0
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0830;
LastUpgradeCheck = 1100;
LastUpgradeCheck = 1420;
ORGANIZATIONNAME = LayoutBox;
TargetAttributes = {
24C872DC1EE2CE0B007BFE47 = {
Expand Down Expand Up @@ -263,6 +263,7 @@
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
Expand All @@ -287,7 +288,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 10.3;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -323,6 +324,7 @@
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
Expand All @@ -341,7 +343,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 10.3;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
Expand All @@ -358,6 +360,7 @@
CLANG_ENABLE_MODULES = YES;
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = "PinLayout-iOS/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.layoutbox.project.PinLayout-iOS";
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -375,6 +378,7 @@
CLANG_ENABLE_MODULES = YES;
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = "PinLayout-iOS/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.layoutbox.project.PinLayout-iOS";
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class ViewController: UIViewController {
super.viewDidLayoutSubviews()

// PinLayout
logo.pin.top().left().size(100).margin(topLayoutGuide.length + 10, 10, 10)
logo.pin.top().left().size(100).margin(view.safeAreaInsets.top + 10, 10, 10)
label1.pin.after(of: logo, aligned: .top).right().marginHorizontal(10).sizeToFit(.width)
label2.pin.after(of: logo, aligned: .center).right().marginHorizontal(10).sizeToFit(.width)
label3.pin.after(of: logo, aligned: .bottom).right().marginHorizontal(10).sizeToFit(.width)
Expand Down
2 changes: 1 addition & 1 deletion TestProjects/cocoapods/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
source 'https://cdn.cocoapods.org/'
platform :ios, '11.0'
platform :ios, '12.0'

use_frameworks!

Expand Down
4 changes: 2 additions & 2 deletions TestProjects/cocoapods/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ EXTERNAL SOURCES:
:path: "../../.."

SPEC CHECKSUMS:
PinLayout: 9b3aacc4a5a7c942a8ef6b42b254a448fbf422e5
PinLayout: f8a677ce0cd1cfe96b58435d029b4ceb4ce9c04c
SwifterSwift: 334181863c416882d97b7a60c05054d9e4d799e2

PODFILE CHECKSUM: a4e16268142589603629111c596b5dbb6aeebc89
PODFILE CHECKSUM: f40959ab258f12059918e48f6019cb401a81723f

COCOAPODS: 1.12.0
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0830;
LastUpgradeCheck = 1100;
LastUpgradeCheck = 1420;
ORGANIZATIONNAME = Linkedin;
TargetAttributes = {
447D4B4E1EA571EC002FDFF4 = {
Expand Down Expand Up @@ -234,13 +234,15 @@
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "-";
COPY_PHASE_STRIP = NO;
DEAD_CODE_STRIPPING = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
Expand Down Expand Up @@ -294,13 +296,15 @@
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "-";
COPY_PHASE_STRIP = NO;
DEAD_CODE_STRIPPING = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
Expand Down Expand Up @@ -328,6 +332,7 @@
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "-";
COMBINE_HIDPI_IMAGES = YES;
DEAD_CODE_STRIPPING = YES;
INFOPLIST_FILE = "PinLayout-macOS/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 11.0;
Expand All @@ -347,6 +352,7 @@
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "-";
COMBINE_HIDPI_IMAGES = YES;
DEAD_CODE_STRIPPING = YES;
INFOPLIST_FILE = "PinLayout-macOS/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 11.0;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1100"
LastUpgradeVersion = "1420"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
2 changes: 1 addition & 1 deletion TestProjects/cocoapods/macos/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
source 'https://cdn.cocoapods.org/'
platform :osx, '10.11'
platform :osx, '10.13'

use_frameworks!

Expand Down
2 changes: 1 addition & 1 deletion TestProjects/cocoapods/macos/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
PinLayout: 9b3aacc4a5a7c942a8ef6b42b254a448fbf422e5

PODFILE CHECKSUM: 86e6c0cc7c81d4254004a467812b22fc28f71f5d
PODFILE CHECKSUM: 6f367e85dc6a99ba93382237d1ecc5f5475c5e70

COCOAPODS: 1.12.0
2 changes: 1 addition & 1 deletion TestProjects/cocoapods/tvos/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
source 'https://cdn.cocoapods.org/'
platform :tvos, '11.3'
platform :tvos, '12.0'

target 'PinLayout-tvOS' do
#pod 'PinLayout'
Expand Down
2 changes: 1 addition & 1 deletion TestProjects/cocoapods/tvos/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
PinLayout: 9b3aacc4a5a7c942a8ef6b42b254a448fbf422e5

PODFILE CHECKSUM: 65c9993fe200891ed8f48f0507dcd3d3a54257d6
PODFILE CHECKSUM: f6f33c54b299d48dce16c8db06bb1624e146e6de

COCOAPODS: 1.12.0

0 comments on commit ef7491e

Please sign in to comment.