Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit 68fd039

Browse files
authored
Merge pull request #41 from dchakarov/add-SPM-support
Add SPM support
2 parents e03ce1b + 256f9de commit 68fd039

File tree

11 files changed

+109
-74
lines changed

11 files changed

+109
-74
lines changed

Example/Podfile.lock

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

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

1111
SPEC CHECKSUMS:
12-
ScrollingStackViewController: 3f0dc12878a0287730c659bd3f7b423e894adcb7
12+
ScrollingStackViewController: b2c7184197705db2681c6071c6c5aecdde73569b
1313

14-
PODFILE CHECKSUM: 1107023c97aaa6562f2eb38595e37b1267bba2b1
14+
PODFILE CHECKSUM: 1b324814f8ab24f2809e6cdca5fafe1114859d00
1515

1616
COCOAPODS: 1.10.2

Example/Pods/Local Podspecs/ScrollingStackViewController.podspec.json

Lines changed: 4 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Manifest.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Pods.xcodeproj/project.pbxproj

Lines changed: 36 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Target Support Files/ScrollingStackViewController/ScrollingStackViewController-Info.plist

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/ScrollingStackViewController.xcodeproj/project.pbxproj

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@
226226
isa = PBXProject;
227227
attributes = {
228228
LastSwiftUpdateCheck = 0720;
229-
LastUpgradeCheck = 1020;
229+
LastUpgradeCheck = 1320;
230230
ORGANIZATIONNAME = CocoaPods;
231231
TargetAttributes = {
232232
607FACCF1AFB9204008FA782 = {
@@ -242,10 +242,9 @@
242242
};
243243
buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "ScrollingStackViewController" */;
244244
compatibilityVersion = "Xcode 3.2";
245-
developmentRegion = English;
245+
developmentRegion = en;
246246
hasScannedForEncodings = 0;
247247
knownRegions = (
248-
English,
249248
en,
250249
Base,
251250
);
@@ -411,6 +410,7 @@
411410
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
412411
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
413412
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
413+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
414414
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
415415
CLANG_WARN_STRICT_PROTOTYPES = YES;
416416
CLANG_WARN_SUSPICIOUS_MOVE = YES;
@@ -437,7 +437,7 @@
437437
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
438438
GCC_WARN_UNUSED_FUNCTION = YES;
439439
GCC_WARN_UNUSED_VARIABLE = YES;
440-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
440+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
441441
MTL_ENABLE_DEBUG_INFO = YES;
442442
ONLY_ACTIVE_ARCH = YES;
443443
SDKROOT = iphoneos;
@@ -470,6 +470,7 @@
470470
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
471471
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
472472
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
473+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
473474
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
474475
CLANG_WARN_STRICT_PROTOTYPES = YES;
475476
CLANG_WARN_SUSPICIOUS_MOVE = YES;
@@ -489,7 +490,7 @@
489490
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
490491
GCC_WARN_UNUSED_FUNCTION = YES;
491492
GCC_WARN_UNUSED_VARIABLE = YES;
492-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
493+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
493494
MTL_ENABLE_DEBUG_INFO = NO;
494495
SDKROOT = iphoneos;
495496
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
@@ -506,6 +507,7 @@
506507
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
507508
DEVELOPMENT_TEAM = "";
508509
INFOPLIST_FILE = ScrollingStackViewController/Info.plist;
510+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
509511
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
510512
MODULE_NAME = ExampleApp;
511513
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)";
@@ -520,6 +522,7 @@
520522
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
521523
DEVELOPMENT_TEAM = "";
522524
INFOPLIST_FILE = ScrollingStackViewController/Info.plist;
525+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
523526
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
524527
MODULE_NAME = ExampleApp;
525528
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)";

Example/ScrollingStackViewController.xcodeproj/xcshareddata/xcschemes/ScrollingStackViewController-Example.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1020"
3+
LastUpgradeVersion = "1320"
44
version = "1.7">
55
<BuildAction
66
parallelizeBuildables = "YES"
Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="6214" systemVersion="14A314h" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES">
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="19529" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES">
3+
<device id="retina6_1" orientation="portrait" appearance="light"/>
34
<dependencies>
4-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6207"/>
5-
<capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/>
5+
<deployment identifier="iOS"/>
6+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="19519"/>
7+
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
68
</dependencies>
79
<objects>
810
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
@@ -11,31 +13,26 @@
1113
<rect key="frame" x="0.0" y="0.0" width="480" height="480"/>
1214
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
1315
<subviews>
14-
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" Copyright (c) 2015 CocoaPods. All rights reserved." textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="8ie-xW-0ye">
15-
<rect key="frame" x="20" y="439" width="441" height="21"/>
16-
<fontDescription key="fontDescription" type="system" pointSize="17"/>
17-
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
18-
<nil key="highlightedColor"/>
19-
</label>
20-
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="ScrollingStackViewController" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX">
16+
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text="ScrollingStackViewController" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX">
2117
<rect key="frame" x="20" y="140" width="441" height="43"/>
2218
<fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
23-
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
19+
<color key="textColor" systemColor="darkTextColor"/>
2420
<nil key="highlightedColor"/>
2521
</label>
2622
</subviews>
27-
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
23+
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
2824
<constraints>
2925
<constraint firstItem="kId-c2-rCX" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="bottom" multiplier="1/3" constant="1" id="5cJ-9S-tgC"/>
3026
<constraint firstAttribute="centerX" secondItem="kId-c2-rCX" secondAttribute="centerX" id="Koa-jz-hwk"/>
31-
<constraint firstAttribute="bottom" secondItem="8ie-xW-0ye" secondAttribute="bottom" constant="20" id="Kzo-t9-V3l"/>
32-
<constraint firstItem="8ie-xW-0ye" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" symbolic="YES" id="MfP-vx-nX0"/>
33-
<constraint firstAttribute="centerX" secondItem="8ie-xW-0ye" secondAttribute="centerX" id="ZEH-qu-HZ9"/>
34-
<constraint firstItem="kId-c2-rCX" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" symbolic="YES" id="fvb-Df-36g"/>
3527
</constraints>
3628
<nil key="simulatedStatusBarMetrics"/>
3729
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
3830
<point key="canvasLocation" x="548" y="455"/>
3931
</view>
4032
</objects>
33+
<resources>
34+
<systemColor name="darkTextColor">
35+
<color white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
36+
</systemColor>
37+
</resources>
4138
</document>

Package.swift

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// swift-tools-version:5.1
2+
3+
import PackageDescription
4+
5+
let package = Package(
6+
name: "ScrollingStackViewController",
7+
platforms: [
8+
.iOS(.v12)
9+
],
10+
products: [
11+
.library(
12+
name: "ScrollingStackViewController",
13+
targets: ["ScrollingStackViewController"]),
14+
],
15+
targets: [
16+
.target(
17+
name: "ScrollingStackViewController",
18+
path: "ScrollingStackViewController/"
19+
)
20+
]
21+
)

0 commit comments

Comments
 (0)