Skip to content

Commit f03a902

Browse files
committed
Update metadata, CocoaPods version to 1.4
1 parent e1ecea1 commit f03a902

File tree

17 files changed

+315
-364
lines changed

17 files changed

+315
-364
lines changed

BetterSegmentedControl.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
Pod::Spec.new do |s|
22
s.name = "BetterSegmentedControl"
3-
s.version = "0.9"
3+
s.version = "1.0"
44
s.summary = "An easy to use, customizable replacement for UISegmentedControl & UISwitch."
55
s.description = <<-DESC
66
BetterSegmentedControl is an easy to use, customizable replacement for UISegmentedControl and UISwitch written in Swift.
77
DESC
88
s.homepage = "https://github.com/gmarm/BetterSegmentedControl"
99
s.license = 'MIT'
1010
s.author = { "George Marmaridis" => "[email protected]" }
11-
s.source = { :git => "https://github.com/gmarm/BetterSegmentedControl.git", :tag => "0.9" }
11+
s.source = { :git => "https://github.com/gmarm/BetterSegmentedControl.git", :tag => "1.0" }
1212
s.social_media_url = 'https://twitter.com/gmarmas'
1313
s.platform = :ios, '8.0'
1414
s.requires_arc = true

Example/BetterSegmentedControl.xcodeproj/project.pbxproj

Lines changed: 51 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; };
1616
607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; };
1717
607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; };
18-
921492B24C39CD3A54135E6D /* Pods_BetterSegmentedControl_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C8B8A62A2CFBE627EDA043B6 /* Pods_BetterSegmentedControl_Tests.framework */; };
19-
CA337B951D2305948D7B03CF /* Pods_BetterSegmentedControl_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6709BA22FA9BAF021B24BA03 /* Pods_BetterSegmentedControl_Example.framework */; };
18+
90FFFDFEEFCF420B32DC095F /* Pods_BetterSegmentedControl_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2FAF265B133EF9D144E4D6FB /* Pods_BetterSegmentedControl_Tests.framework */; };
19+
D36BA20F2BF5FBB03233C68B /* Pods_BetterSegmentedControl_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 61D9FAAAFFAE7994D65963C2 /* Pods_BetterSegmentedControl_Example.framework */; };
2020
/* End PBXBuildFile section */
2121

2222
/* Begin PBXContainerItemProxy section */
@@ -32,6 +32,7 @@
3232
/* Begin PBXFileReference section */
3333
04381095F08ECC8EEFC64A13 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = "<group>"; };
3434
12CB0D1475C52C17775132BF /* Pods-BetterSegmentedControl_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BetterSegmentedControl_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-BetterSegmentedControl_Example/Pods-BetterSegmentedControl_Example.release.xcconfig"; sourceTree = "<group>"; };
35+
2FAF265B133EF9D144E4D6FB /* Pods_BetterSegmentedControl_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_BetterSegmentedControl_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
3536
4BC57C0F1CCB8D0700A85349 /* Test.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Test.storyboard; sourceTree = "<group>"; };
3637
4BC57C111CCB8EDD00A85349 /* TestViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TestViewController.swift; sourceTree = "<group>"; };
3738
607FACD01AFB9204008FA782 /* BetterSegmentedControl_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = BetterSegmentedControl_Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -44,10 +45,9 @@
4445
607FACE51AFB9204008FA782 /* BetterSegmentedControl_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = BetterSegmentedControl_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
4546
607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
4647
607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = "<group>"; };
47-
6709BA22FA9BAF021B24BA03 /* Pods_BetterSegmentedControl_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_BetterSegmentedControl_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; };
48+
61D9FAAAFFAE7994D65963C2 /* Pods_BetterSegmentedControl_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_BetterSegmentedControl_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; };
4849
82FBC36B5CC2D9017CEACA5B /* BetterSegmentedControl.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = BetterSegmentedControl.podspec; path = ../BetterSegmentedControl.podspec; sourceTree = "<group>"; };
4950
BA399992832E9047B3FF6F8B /* Pods-BetterSegmentedControl_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BetterSegmentedControl_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-BetterSegmentedControl_Tests/Pods-BetterSegmentedControl_Tests.release.xcconfig"; sourceTree = "<group>"; };
50-
C8B8A62A2CFBE627EDA043B6 /* Pods_BetterSegmentedControl_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_BetterSegmentedControl_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
5151
E35EF8EE3A68B8AA955DE5DE /* Pods-BetterSegmentedControl_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BetterSegmentedControl_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-BetterSegmentedControl_Example/Pods-BetterSegmentedControl_Example.debug.xcconfig"; sourceTree = "<group>"; };
5252
F6F6B8A01C1E078308A9EB93 /* Pods-BetterSegmentedControl_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BetterSegmentedControl_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-BetterSegmentedControl_Tests/Pods-BetterSegmentedControl_Tests.debug.xcconfig"; sourceTree = "<group>"; };
5353
F8ECFF07790385FABB531EC7 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = "<group>"; };
@@ -58,15 +58,15 @@
5858
isa = PBXFrameworksBuildPhase;
5959
buildActionMask = 2147483647;
6060
files = (
61-
CA337B951D2305948D7B03CF /* Pods_BetterSegmentedControl_Example.framework in Frameworks */,
61+
D36BA20F2BF5FBB03233C68B /* Pods_BetterSegmentedControl_Example.framework in Frameworks */,
6262
);
6363
runOnlyForDeploymentPostprocessing = 0;
6464
};
6565
607FACE21AFB9204008FA782 /* Frameworks */ = {
6666
isa = PBXFrameworksBuildPhase;
6767
buildActionMask = 2147483647;
6868
files = (
69-
921492B24C39CD3A54135E6D /* Pods_BetterSegmentedControl_Tests.framework in Frameworks */,
69+
90FFFDFEEFCF420B32DC095F /* Pods_BetterSegmentedControl_Tests.framework in Frameworks */,
7070
);
7171
runOnlyForDeploymentPostprocessing = 0;
7272
};
@@ -159,8 +159,8 @@
159159
D6EA7141AF371DB117A8E6FC /* Frameworks */ = {
160160
isa = PBXGroup;
161161
children = (
162-
6709BA22FA9BAF021B24BA03 /* Pods_BetterSegmentedControl_Example.framework */,
163-
C8B8A62A2CFBE627EDA043B6 /* Pods_BetterSegmentedControl_Tests.framework */,
162+
61D9FAAAFFAE7994D65963C2 /* Pods_BetterSegmentedControl_Example.framework */,
163+
2FAF265B133EF9D144E4D6FB /* Pods_BetterSegmentedControl_Tests.framework */,
164164
);
165165
name = Frameworks;
166166
sourceTree = "<group>";
@@ -176,7 +176,8 @@
176176
607FACCC1AFB9204008FA782 /* Sources */,
177177
607FACCD1AFB9204008FA782 /* Frameworks */,
178178
607FACCE1AFB9204008FA782 /* Resources */,
179-
8FDA5CE9253EE5919829940C /* [CP] Embed Pods Frameworks */,
179+
7A32436EFA69C4B146882841 /* [CP] Embed Pods Frameworks */,
180+
6139893E10CB10126D6357F7 /* [CP] Copy Pods Resources */,
180181
);
181182
buildRules = (
182183
);
@@ -195,7 +196,8 @@
195196
607FACE11AFB9204008FA782 /* Sources */,
196197
607FACE21AFB9204008FA782 /* Frameworks */,
197198
607FACE31AFB9204008FA782 /* Resources */,
198-
7E636C40B7003D8D19A881E4 /* [CP] Embed Pods Frameworks */,
199+
723B1B079BEB381EA4CF7DBC /* [CP] Embed Pods Frameworks */,
200+
F2CFAABA68E557C69F6CF902 /* [CP] Copy Pods Resources */,
199201
);
200202
buildRules = (
201203
);
@@ -214,7 +216,7 @@
214216
isa = PBXProject;
215217
attributes = {
216218
LastSwiftUpdateCheck = 0720;
217-
LastUpgradeCheck = 0900;
219+
LastUpgradeCheck = 0940;
218220
ORGANIZATIONNAME = CocoaPods;
219221
TargetAttributes = {
220222
607FACCF1AFB9204008FA782 = {
@@ -287,7 +289,22 @@
287289
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
288290
showEnvVarsInLog = 0;
289291
};
290-
7E636C40B7003D8D19A881E4 /* [CP] Embed Pods Frameworks */ = {
292+
6139893E10CB10126D6357F7 /* [CP] Copy Pods Resources */ = {
293+
isa = PBXShellScriptBuildPhase;
294+
buildActionMask = 2147483647;
295+
files = (
296+
);
297+
inputPaths = (
298+
);
299+
name = "[CP] Copy Pods Resources";
300+
outputPaths = (
301+
);
302+
runOnlyForDeploymentPostprocessing = 0;
303+
shellPath = /bin/sh;
304+
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-BetterSegmentedControl_Example/Pods-BetterSegmentedControl_Example-resources.sh\"\n";
305+
showEnvVarsInLog = 0;
306+
};
307+
723B1B079BEB381EA4CF7DBC /* [CP] Embed Pods Frameworks */ = {
291308
isa = PBXShellScriptBuildPhase;
292309
buildActionMask = 2147483647;
293310
files = (
@@ -313,7 +330,7 @@
313330
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-BetterSegmentedControl_Tests/Pods-BetterSegmentedControl_Tests-frameworks.sh\"\n";
314331
showEnvVarsInLog = 0;
315332
};
316-
8FDA5CE9253EE5919829940C /* [CP] Embed Pods Frameworks */ = {
333+
7A32436EFA69C4B146882841 /* [CP] Embed Pods Frameworks */ = {
317334
isa = PBXShellScriptBuildPhase;
318335
buildActionMask = 2147483647;
319336
files = (
@@ -349,6 +366,21 @@
349366
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
350367
showEnvVarsInLog = 0;
351368
};
369+
F2CFAABA68E557C69F6CF902 /* [CP] Copy Pods Resources */ = {
370+
isa = PBXShellScriptBuildPhase;
371+
buildActionMask = 2147483647;
372+
files = (
373+
);
374+
inputPaths = (
375+
);
376+
name = "[CP] Copy Pods Resources";
377+
outputPaths = (
378+
);
379+
runOnlyForDeploymentPostprocessing = 0;
380+
shellPath = /bin/sh;
381+
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-BetterSegmentedControl_Tests/Pods-BetterSegmentedControl_Tests-resources.sh\"\n";
382+
showEnvVarsInLog = 0;
383+
};
352384
/* End PBXShellScriptBuildPhase section */
353385

354386
/* Begin PBXSourcesBuildPhase section */
@@ -412,12 +444,14 @@
412444
CLANG_WARN_BOOL_CONVERSION = YES;
413445
CLANG_WARN_COMMA = YES;
414446
CLANG_WARN_CONSTANT_CONVERSION = YES;
447+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
415448
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
416449
CLANG_WARN_EMPTY_BODY = YES;
417450
CLANG_WARN_ENUM_CONVERSION = YES;
418451
CLANG_WARN_INFINITE_RECURSION = YES;
419452
CLANG_WARN_INT_CONVERSION = YES;
420453
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
454+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
421455
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
422456
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
423457
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
@@ -450,6 +484,7 @@
450484
ONLY_ACTIVE_ARCH = YES;
451485
SDKROOT = iphoneos;
452486
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
487+
SWIFT_VERSION = 4.0;
453488
};
454489
name = Debug;
455490
};
@@ -465,12 +500,14 @@
465500
CLANG_WARN_BOOL_CONVERSION = YES;
466501
CLANG_WARN_COMMA = YES;
467502
CLANG_WARN_CONSTANT_CONVERSION = YES;
503+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
468504
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
469505
CLANG_WARN_EMPTY_BODY = YES;
470506
CLANG_WARN_ENUM_CONVERSION = YES;
471507
CLANG_WARN_INFINITE_RECURSION = YES;
472508
CLANG_WARN_INT_CONVERSION = YES;
473509
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
510+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
474511
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
475512
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
476513
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
@@ -495,6 +532,7 @@
495532
MTL_ENABLE_DEBUG_INFO = NO;
496533
SDKROOT = iphoneos;
497534
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
535+
SWIFT_VERSION = 4.0;
498536
VALIDATE_PRODUCT = YES;
499537
};
500538
name = Release;
@@ -509,7 +547,6 @@
509547
MODULE_NAME = ExampleApp;
510548
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)";
511549
PRODUCT_NAME = "$(TARGET_NAME)";
512-
SWIFT_VERSION = 4.0;
513550
};
514551
name = Debug;
515552
};
@@ -523,7 +560,6 @@
523560
MODULE_NAME = ExampleApp;
524561
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)";
525562
PRODUCT_NAME = "$(TARGET_NAME)";
526-
SWIFT_VERSION = 4.0;
527563
};
528564
name = Release;
529565
};
@@ -541,7 +577,6 @@
541577
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
542578
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)";
543579
PRODUCT_NAME = "$(TARGET_NAME)";
544-
SWIFT_VERSION = 4.0;
545580
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/BetterSegmentedControl_Example.app/BetterSegmentedControl_Example";
546581
};
547582
name = Debug;
@@ -556,7 +591,6 @@
556591
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
557592
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)";
558593
PRODUCT_NAME = "$(TARGET_NAME)";
559-
SWIFT_VERSION = 4.0;
560594
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/BetterSegmentedControl_Example.app/BetterSegmentedControl_Example";
561595
};
562596
name = Release;

Example/BetterSegmentedControl/Base.lproj/Main.storyboard

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13771" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="oBL-AA-ynO">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14113" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="oBL-AA-ynO">
33
<device id="retina4_7" orientation="portrait">
44
<adaptation id="fullscreen"/>
55
</device>
66
<dependencies>
77
<deployment identifier="iOS"/>
8-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13772"/>
8+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
99
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
1010
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
1111
</dependencies>

Example/Podfile.lock

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PODS:
2-
- BetterSegmentedControl (0.9)
2+
- BetterSegmentedControl (1.0)
33
- iOSSnapshotTestCase (3.0.0):
44
- iOSSnapshotTestCase/SwiftSupport (= 3.0.0)
55
- iOSSnapshotTestCase/Core (3.0.0)
@@ -19,24 +19,17 @@ DEPENDENCIES:
1919
- Nimble-Snapshots (~> 6.7)
2020
- Quick (~> 1.3)
2121

22-
SPEC REPOS:
23-
https://github.com/cocoapods/specs.git:
24-
- iOSSnapshotTestCase
25-
- Nimble
26-
- Nimble-Snapshots
27-
- Quick
28-
2922
EXTERNAL SOURCES:
3023
BetterSegmentedControl:
31-
:path: "../"
24+
:path: ../
3225

3326
SPEC CHECKSUMS:
34-
BetterSegmentedControl: 2df27c4872cfb1f7933fd944ee28c3e27cafe7b9
27+
BetterSegmentedControl: 3f4b21a65737b7741f573c62187369ce0675a67a
3528
iOSSnapshotTestCase: 23984ffe05289728d646cbb6a7a10b4fb1c93440
3629
Nimble: 2839b01d1b31f6a6a7777a221f0d91cf52e8e27b
3730
Nimble-Snapshots: 7ab1d5fd4a794b983805c6f6b8091fb00d772754
3831
Quick: d17304d58d0d169dd0bd1c6e5c28e3318de32a1a
3932

4033
PODFILE CHECKSUM: f83a914dcd185d8c72cbe55601e7f8ed2f241fa5
4134

42-
COCOAPODS: 1.5.3
35+
COCOAPODS: 1.4.0

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

Lines changed: 2 additions & 2 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: 4 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)