Skip to content

Commit d014575

Browse files
committed
Update example project
1 parent 73f86c8 commit d014575

File tree

6 files changed

+161
-170
lines changed

6 files changed

+161
-170
lines changed

Example/Example.xcodeproj/project.pbxproj

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10+
270B4D491C5FE47A00D8E60D /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 270B4D451C5FE47A00D8E60D /* LaunchScreen.xib */; };
11+
270B4D4A1C5FE47A00D8E60D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 270B4D471C5FE47A00D8E60D /* Main.storyboard */; };
1012
270E238E1B512E190045B702 /* KWStepper.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 270E23891B512DCD0045B702 /* KWStepper.framework */; };
1113
270E23901B512E9B0045B702 /* KWStepper.framework in Copy Frameworks */ = {isa = PBXBuildFile; fileRef = 270E23891B512DCD0045B702 /* KWStepper.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
1214
270E23931B51313B0045B702 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 270E23921B51313B0045B702 /* ViewController.swift */; };
1315
270E23991B5131600045B702 /* CountLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 270E23981B5131600045B702 /* CountLabel.swift */; };
1416
27B01E4A1B512CD2008DFFD8 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 27B01E491B512CD2008DFFD8 /* AppDelegate.swift */; };
15-
27B01E4F1B512CD2008DFFD8 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 27B01E4D1B512CD2008DFFD8 /* Main.storyboard */; };
1617
27B01E511B512CD2008DFFD8 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 27B01E501B512CD2008DFFD8 /* Images.xcassets */; };
17-
27B01E541B512CD2008DFFD8 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 27B01E521B512CD2008DFFD8 /* LaunchScreen.xib */; };
1818
27B01E601B512CD2008DFFD8 /* ExampleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 27B01E5F1B512CD2008DFFD8 /* ExampleTests.swift */; };
1919
/* End PBXBuildFile section */
2020

@@ -64,15 +64,15 @@
6464
/* End PBXCopyFilesBuildPhase section */
6565

6666
/* Begin PBXFileReference section */
67+
270B4D461C5FE47A00D8E60D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
68+
270B4D481C5FE47A00D8E60D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
6769
270E23831B512DCD0045B702 /* KWStepper.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = KWStepper.xcodeproj; path = ../KWStepper/KWStepper.xcodeproj; sourceTree = "<group>"; };
6870
270E23921B51313B0045B702 /* ViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
6971
270E23981B5131600045B702 /* CountLabel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CountLabel.swift; sourceTree = "<group>"; };
7072
27B01E441B512CD2008DFFD8 /* Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
7173
27B01E481B512CD2008DFFD8 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
7274
27B01E491B512CD2008DFFD8 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
73-
27B01E4E1B512CD2008DFFD8 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
7475
27B01E501B512CD2008DFFD8 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
75-
27B01E531B512CD2008DFFD8 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
7676
27B01E591B512CD2008DFFD8 /* ExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
7777
27B01E5E1B512CD2008DFFD8 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
7878
27B01E5F1B512CD2008DFFD8 /* ExampleTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ExampleTests.swift; sourceTree = "<group>"; };
@@ -145,8 +145,8 @@
145145
isa = PBXGroup;
146146
children = (
147147
27B01E501B512CD2008DFFD8 /* Images.xcassets */,
148-
27B01E521B512CD2008DFFD8 /* LaunchScreen.xib */,
149-
27B01E4D1B512CD2008DFFD8 /* Main.storyboard */,
148+
270B4D451C5FE47A00D8E60D /* LaunchScreen.xib */,
149+
270B4D471C5FE47A00D8E60D /* Main.storyboard */,
150150
270E23911B51313B0045B702 /* Controllers */,
151151
270E23971B5131600045B702 /* Views */,
152152
27B01E471B512CD2008DFFD8 /* Supporting Files */,
@@ -286,8 +286,8 @@
286286
isa = PBXResourcesBuildPhase;
287287
buildActionMask = 2147483647;
288288
files = (
289-
27B01E4F1B512CD2008DFFD8 /* Main.storyboard in Resources */,
290-
27B01E541B512CD2008DFFD8 /* LaunchScreen.xib in Resources */,
289+
270B4D4A1C5FE47A00D8E60D /* Main.storyboard in Resources */,
290+
270B4D491C5FE47A00D8E60D /* LaunchScreen.xib in Resources */,
291291
27B01E511B512CD2008DFFD8 /* Images.xcassets in Resources */,
292292
);
293293
runOnlyForDeploymentPostprocessing = 0;
@@ -336,20 +336,20 @@
336336
/* End PBXTargetDependency section */
337337

338338
/* Begin PBXVariantGroup section */
339-
27B01E4D1B512CD2008DFFD8 /* Main.storyboard */ = {
339+
270B4D451C5FE47A00D8E60D /* LaunchScreen.xib */ = {
340340
isa = PBXVariantGroup;
341341
children = (
342-
27B01E4E1B512CD2008DFFD8 /* Base */,
342+
270B4D461C5FE47A00D8E60D /* Base */,
343343
);
344-
name = Main.storyboard;
344+
name = LaunchScreen.xib;
345345
sourceTree = "<group>";
346346
};
347-
27B01E521B512CD2008DFFD8 /* LaunchScreen.xib */ = {
347+
270B4D471C5FE47A00D8E60D /* Main.storyboard */ = {
348348
isa = PBXVariantGroup;
349349
children = (
350-
27B01E531B512CD2008DFFD8 /* Base */,
350+
270B4D481C5FE47A00D8E60D /* Base */,
351351
);
352-
name = LaunchScreen.xib;
352+
name = Main.storyboard;
353353
sourceTree = "<group>";
354354
};
355355
/* End PBXVariantGroup section */
@@ -392,7 +392,7 @@
392392
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
393393
GCC_WARN_UNUSED_FUNCTION = YES;
394394
GCC_WARN_UNUSED_VARIABLE = YES;
395-
IPHONEOS_DEPLOYMENT_TARGET = 8.4;
395+
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
396396
MTL_ENABLE_DEBUG_INFO = YES;
397397
ONLY_ACTIVE_ARCH = YES;
398398
SDKROOT = iphoneos;
@@ -431,7 +431,7 @@
431431
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
432432
GCC_WARN_UNUSED_FUNCTION = YES;
433433
GCC_WARN_UNUSED_VARIABLE = YES;
434-
IPHONEOS_DEPLOYMENT_TARGET = 8.4;
434+
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
435435
MTL_ENABLE_DEBUG_INFO = NO;
436436
SDKROOT = iphoneos;
437437
TARGETED_DEVICE_FAMILY = "1,2";

Example/Example/Base.lproj/LaunchScreen.xib

100644100755
Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,30 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="8121.17" systemVersion="14D136" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="9531" systemVersion="15D21" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES">
33
<dependencies>
4-
<deployment identifier="iOS"/>
5-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="8101.14"/>
4+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9529"/>
65
</dependencies>
76
<objects>
87
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
98
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
109
<view contentMode="scaleToFill" id="iN0-l3-epB">
11-
<rect key="frame" x="0.0" y="0.0" width="480" height="480"/>
10+
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
1211
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
1312
<subviews>
1413
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="KWStepper" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX">
15-
<rect key="frame" x="20" y="218" width="441" height="43"/>
14+
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
1615
<fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
1716
<color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
1817
<nil key="highlightedColor"/>
1918
</label>
2019
</subviews>
2120
<color key="backgroundColor" red="0.14117647059999999" green="0.71764705880000002" blue="0.31764705879999999" alpha="1" colorSpace="calibratedRGB"/>
2221
<constraints>
23-
<constraint firstItem="kId-c2-rCX" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" id="8eK-KI-JFm"/>
24-
<constraint firstItem="kId-c2-rCX" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="X2E-FY-iE2"/>
25-
<constraint firstItem="kId-c2-rCX" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="218" id="uCg-Bj-gQP"/>
22+
<constraint firstAttribute="bottom" secondItem="kId-c2-rCX" secondAttribute="bottom" id="6dU-Bp-Reb"/>
23+
<constraint firstItem="kId-c2-rCX" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="83Z-1j-RtK"/>
24+
<constraint firstItem="kId-c2-rCX" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="jxN-aO-E2Z"/>
25+
<constraint firstAttribute="trailing" secondItem="kId-c2-rCX" secondAttribute="trailing" id="ypw-qX-yW0"/>
2626
</constraints>
2727
<nil key="simulatedStatusBarMetrics"/>
28-
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
2928
<point key="canvasLocation" x="548" y="455"/>
3029
</view>
3130
</objects>

0 commit comments

Comments
 (0)