Skip to content
This repository was archived by the owner on Apr 11, 2021. It is now read-only.

Commit c2e36c4

Browse files
committed
Merge branch 'swift4'
# Conflicts: # .swift-version
2 parents 76bb853 + 81f1f75 commit c2e36c4

10 files changed

Lines changed: 153 additions & 50 deletions

File tree

.swift-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.2
1+
4.0

Demo/ScrollableSegmentedControlDemo/ScrollableSegmentedControlDemo.xcodeproj/project.pbxproj

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

99
/* Begin PBXBuildFile section */
10+
CD8F9C721F8A74AF00BD826C /* ObjCTestViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = CD8F9C701F8A74AE00BD826C /* ObjCTestViewController.m */; };
1011
CD9A240B1DD5A64F00B580D0 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = CD9A240A1DD5A64F00B580D0 /* AppDelegate.swift */; };
1112
CD9A24101DD5A64F00B580D0 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = CD9A240E1DD5A64F00B580D0 /* Main.storyboard */; };
1213
CD9A24121DD5A64F00B580D0 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = CD9A24111DD5A64F00B580D0 /* Assets.xcassets */; };
@@ -55,6 +56,9 @@
5556
/* End PBXCopyFilesBuildPhase section */
5657

5758
/* Begin PBXFileReference section */
59+
CD8F9C6B1F8A748C00BD826C /* ScrollableSegmentedControlDemo-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ScrollableSegmentedControlDemo-Bridging-Header.h"; sourceTree = "<group>"; };
60+
CD8F9C701F8A74AE00BD826C /* ObjCTestViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ObjCTestViewController.m; sourceTree = "<group>"; };
61+
CD8F9C711F8A74AF00BD826C /* ObjCTestViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ObjCTestViewController.h; sourceTree = "<group>"; };
5862
CD9A24071DD5A64F00B580D0 /* ScrollableSegmentedControlDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ScrollableSegmentedControlDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };
5963
CD9A240A1DD5A64F00B580D0 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
6064
CD9A240F1DD5A64F00B580D0 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
@@ -103,6 +107,9 @@
103107
CD9A24111DD5A64F00B580D0 /* Assets.xcassets */,
104108
CD9A24131DD5A64F00B580D0 /* LaunchScreen.storyboard */,
105109
CD9A24161DD5A64F00B580D0 /* Info.plist */,
110+
CD8F9C6B1F8A748C00BD826C /* ScrollableSegmentedControlDemo-Bridging-Header.h */,
111+
CD8F9C711F8A74AF00BD826C /* ObjCTestViewController.h */,
112+
CD8F9C701F8A74AE00BD826C /* ObjCTestViewController.m */,
106113
);
107114
path = ScrollableSegmentedControlDemo;
108115
sourceTree = "<group>";
@@ -145,11 +152,12 @@
145152
isa = PBXProject;
146153
attributes = {
147154
LastSwiftUpdateCheck = 0800;
148-
LastUpgradeCheck = 0820;
155+
LastUpgradeCheck = 0900;
149156
ORGANIZATIONNAME = Pomarium;
150157
TargetAttributes = {
151158
CD9A24061DD5A64F00B580D0 = {
152159
CreatedOnToolsVersion = 8.0;
160+
LastSwiftMigration = 0900;
153161
ProvisioningStyle = Automatic;
154162
};
155163
};
@@ -213,6 +221,7 @@
213221
isa = PBXSourcesBuildPhase;
214222
buildActionMask = 2147483647;
215223
files = (
224+
CD8F9C721F8A74AF00BD826C /* ObjCTestViewController.m in Sources */,
216225
CDDF9BD21DD5A7D4000B09AF /* TableViewController.swift in Sources */,
217226
CD9A240B1DD5A64F00B580D0 /* AppDelegate.swift in Sources */,
218227
);
@@ -257,15 +266,21 @@
257266
CLANG_CXX_LIBRARY = "libc++";
258267
CLANG_ENABLE_MODULES = YES;
259268
CLANG_ENABLE_OBJC_ARC = YES;
269+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
260270
CLANG_WARN_BOOL_CONVERSION = YES;
271+
CLANG_WARN_COMMA = YES;
261272
CLANG_WARN_CONSTANT_CONVERSION = YES;
262273
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
263274
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
264275
CLANG_WARN_EMPTY_BODY = YES;
265276
CLANG_WARN_ENUM_CONVERSION = YES;
266277
CLANG_WARN_INFINITE_RECURSION = YES;
267278
CLANG_WARN_INT_CONVERSION = YES;
279+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
280+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
268281
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
282+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
283+
CLANG_WARN_STRICT_PROTOTYPES = YES;
269284
CLANG_WARN_SUSPICIOUS_MOVE = YES;
270285
CLANG_WARN_SUSPICIOUS_MOVES = YES;
271286
CLANG_WARN_UNREACHABLE_CODE = YES;
@@ -307,15 +322,21 @@
307322
CLANG_CXX_LIBRARY = "libc++";
308323
CLANG_ENABLE_MODULES = YES;
309324
CLANG_ENABLE_OBJC_ARC = YES;
325+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
310326
CLANG_WARN_BOOL_CONVERSION = YES;
327+
CLANG_WARN_COMMA = YES;
311328
CLANG_WARN_CONSTANT_CONVERSION = YES;
312329
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
313330
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
314331
CLANG_WARN_EMPTY_BODY = YES;
315332
CLANG_WARN_ENUM_CONVERSION = YES;
316333
CLANG_WARN_INFINITE_RECURSION = YES;
317334
CLANG_WARN_INT_CONVERSION = YES;
335+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
336+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
318337
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
338+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
339+
CLANG_WARN_STRICT_PROTOTYPES = YES;
319340
CLANG_WARN_SUSPICIOUS_MOVE = YES;
320341
CLANG_WARN_SUSPICIOUS_MOVES = YES;
321342
CLANG_WARN_UNREACHABLE_CODE = YES;
@@ -346,11 +367,15 @@
346367
buildSettings = {
347368
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
348369
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
370+
CLANG_ENABLE_MODULES = YES;
349371
INFOPLIST_FILE = ScrollableSegmentedControlDemo/Info.plist;
350372
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
351373
PRODUCT_BUNDLE_IDENTIFIER = au.com.pomarium.ScrollableSegmentedControlDemo;
352374
PRODUCT_NAME = "$(TARGET_NAME)";
353-
SWIFT_VERSION = 3.0;
375+
SWIFT_OBJC_BRIDGING_HEADER = "ScrollableSegmentedControlDemo/ScrollableSegmentedControlDemo-Bridging-Header.h";
376+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
377+
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
378+
SWIFT_VERSION = 4.0;
354379
};
355380
name = Debug;
356381
};
@@ -359,11 +384,14 @@
359384
buildSettings = {
360385
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
361386
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
387+
CLANG_ENABLE_MODULES = YES;
362388
INFOPLIST_FILE = ScrollableSegmentedControlDemo/Info.plist;
363389
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
364390
PRODUCT_BUNDLE_IDENTIFIER = au.com.pomarium.ScrollableSegmentedControlDemo;
365391
PRODUCT_NAME = "$(TARGET_NAME)";
366-
SWIFT_VERSION = 3.0;
392+
SWIFT_OBJC_BRIDGING_HEADER = "ScrollableSegmentedControlDemo/ScrollableSegmentedControlDemo-Bridging-Header.h";
393+
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
394+
SWIFT_VERSION = 4.0;
367395
};
368396
name = Release;
369397
};
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
//
2+
// ObjCTestViewController.h
3+
// ScrollableSegmentedControlDemo
4+
//
5+
// Created by Goce Petrovski on 8/10/17.
6+
// Copyright © 2017 Pomarium. All rights reserved.
7+
//
8+
9+
#import <UIKit/UIKit.h>
10+
11+
@interface ObjCTestViewController : UIViewController
12+
13+
@end
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
//
2+
// ObjCTestViewController.m
3+
// ScrollableSegmentedControlDemo
4+
//
5+
// Created by Goce Petrovski on 8/10/17.
6+
// Copyright © 2017 Pomarium. All rights reserved.
7+
//
8+
9+
#import "ObjCTestViewController.h"
10+
@import ScrollableSegmentedControl;
11+
12+
@interface ObjCTestViewController ()
13+
14+
@end
15+
16+
@implementation ObjCTestViewController
17+
18+
- (void)viewDidLoad {
19+
[super viewDidLoad];
20+
21+
ScrollableSegmentedControl *segmentedControl = [[ScrollableSegmentedControl alloc] init];
22+
segmentedControl.selectedSegmentIndex = 0;
23+
segmentedControl.segmentStyle = ScrollableSegmentedControlSegmentStyleTextOnly;
24+
}
25+
26+
- (void)didReceiveMemoryWarning {
27+
[super didReceiveMemoryWarning];
28+
// Dispose of any resources that can be recreated.
29+
}
30+
31+
/*
32+
#pragma mark - Navigation
33+
34+
// In a storyboard-based application, you will often want to do a little preparation before navigation
35+
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
36+
// Get the new view controller using [segue destinationViewController].
37+
// Pass the selected object to the new view controller.
38+
}
39+
*/
40+
41+
@end
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
//
2+
// Use this file to import your target's public headers that you would like to expose to Swift.
3+
//
4+

Demo/ScrollableSegmentedControlDemo/ScrollableSegmentedControlDemo/TableViewController.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ class TableViewController: UITableViewController {
1717
var selectedIndexPath = IndexPath(row: 0, section: 0)
1818
var selectedAttributesIndexPath = IndexPath(row: 0, section: 1)
1919

20-
let largerRedTextAttributes = [NSFontAttributeName: UIFont.systemFont(ofSize: 16),
21-
NSForegroundColorAttributeName: UIColor.red]
22-
let largerRedTextHighlightAttributes = [NSFontAttributeName: UIFont.systemFont(ofSize: 16),
23-
NSForegroundColorAttributeName: UIColor.blue]
24-
let largerRedTextSelectAttributes = [NSFontAttributeName: UIFont.systemFont(ofSize: 16),
25-
NSForegroundColorAttributeName: UIColor.orange]
20+
let largerRedTextAttributes = [NSAttributedStringKey.font: UIFont.systemFont(ofSize: 16),
21+
NSAttributedStringKey.foregroundColor: UIColor.red]
22+
let largerRedTextHighlightAttributes = [NSAttributedStringKey.font: UIFont.systemFont(ofSize: 16),
23+
NSAttributedStringKey.foregroundColor: UIColor.blue]
24+
let largerRedTextSelectAttributes = [NSAttributedStringKey.font: UIFont.systemFont(ofSize: 16),
25+
NSAttributedStringKey.foregroundColor: UIColor.orange]
2626

2727
override func viewDidLoad() {
2828
super.viewDidLoad()
@@ -41,7 +41,7 @@ class TableViewController: UITableViewController {
4141
segmentedControl.addTarget(self, action: #selector(TableViewController.segmentSelected(sender:)), for: .valueChanged)
4242
}
4343

44-
func segmentSelected(sender:ScrollableSegmentedControl) {
44+
@objc func segmentSelected(sender:ScrollableSegmentedControl) {
4545
print("Segment at index \(sender.selectedSegmentIndex) selected")
4646
}
4747

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ ScrollableSegmentedControl supports 4 styles of segments: text only, image only,
2020

2121

2222

23-
##Support
23+
### Support
2424

25-
- Xcode 8.1+
26-
- Swift 3.0+
25+
- Xcode 9.0+
26+
- Swift 4.0+
2727
- iOS 9.0+
2828

2929

@@ -76,9 +76,9 @@ func application(_ application: UIApplication, didFinishLaunchingWithOptions lau
7676
Configuring custom title attributes via setTitleTextAttributes method
7777

7878
```swift
79-
let largerRedTextAttributes = [NSFontAttributeName: UIFont.systemFont(ofSize: 16), NSForegroundColorAttributeName: UIColor.red]
80-
let largerRedTextHighlightAttributes = [NSFontAttributeName: UIFont.systemFont(ofSize: 16), NSForegroundColorAttributeName: UIColor.blue]
81-
let largerRedTextSelectAttributes = [NSFontAttributeName: UIFont.systemFont(ofSize: 16), NSForegroundColorAttributeName: UIColor.orange]
79+
let largerRedTextAttributes = [NSAttributedStringKey.font: UIFont.systemFont(ofSize: 16), NSAttributedStringKey.foregroundColor: UIColor.red]
80+
let largerRedTextHighlightAttributes = [NSAttributedStringKey.font: UIFont.systemFont(ofSize: 16), NSAttributedStringKey.foregroundColor: UIColor.blue]
81+
let largerRedTextSelectAttributes = [NSAttributedStringKey.font: UIFont.systemFont(ofSize: 16), NSAttributedStringKey.foregroundColor: UIColor.orange]
8282

8383
segmentedControl.setTitleTextAttributes(largerRedTextAttributes, for: .normal)
8484
segmentedControl.setTitleTextAttributes(largerRedTextHighlightAttributes, for: .highlighted)
@@ -94,7 +94,7 @@ See the Demo project for example on how to use it.
9494
The easiest way of installing ScrollableSegmentedControl is via [CocoaPods](http://cocoapods.org/).
9595

9696
```
97-
pod 'ScrollableSegmentedControl', '~> 1.2.1'
97+
pod 'ScrollableSegmentedControl', '~> 1.3.0'
9898
```
9999

100100
### Old-fashioned way

ScrollableSegmentedControl.xcodeproj/project.pbxproj

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -146,12 +146,12 @@
146146
isa = PBXProject;
147147
attributes = {
148148
LastSwiftUpdateCheck = 0800;
149-
LastUpgradeCheck = 0810;
149+
LastUpgradeCheck = 0900;
150150
ORGANIZATIONNAME = Pomarium;
151151
TargetAttributes = {
152152
CD078D9C1DD4B5B30083F53F = {
153153
CreatedOnToolsVersion = 8.0;
154-
LastSwiftMigration = 0800;
154+
LastSwiftMigration = 0900;
155155
ProvisioningStyle = Automatic;
156156
};
157157
CD078DA51DD4B5B30083F53F = {
@@ -232,15 +232,21 @@
232232
CLANG_CXX_LIBRARY = "libc++";
233233
CLANG_ENABLE_MODULES = YES;
234234
CLANG_ENABLE_OBJC_ARC = YES;
235+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
235236
CLANG_WARN_BOOL_CONVERSION = YES;
237+
CLANG_WARN_COMMA = YES;
236238
CLANG_WARN_CONSTANT_CONVERSION = YES;
237239
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
238240
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
239241
CLANG_WARN_EMPTY_BODY = YES;
240242
CLANG_WARN_ENUM_CONVERSION = YES;
241243
CLANG_WARN_INFINITE_RECURSION = YES;
242244
CLANG_WARN_INT_CONVERSION = YES;
245+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
246+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
243247
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
248+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
249+
CLANG_WARN_STRICT_PROTOTYPES = YES;
244250
CLANG_WARN_SUSPICIOUS_MOVE = YES;
245251
CLANG_WARN_SUSPICIOUS_MOVES = YES;
246252
CLANG_WARN_UNREACHABLE_CODE = YES;
@@ -265,12 +271,12 @@
265271
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
266272
GCC_WARN_UNUSED_FUNCTION = YES;
267273
GCC_WARN_UNUSED_VARIABLE = YES;
268-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
269274
MTL_ENABLE_DEBUG_INFO = YES;
270275
ONLY_ACTIVE_ARCH = YES;
271276
SDKROOT = iphoneos;
272277
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
273278
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
279+
SWIFT_VERSION = 4.0;
274280
TARGETED_DEVICE_FAMILY = "1,2";
275281
VERSIONING_SYSTEM = "apple-generic";
276282
VERSION_INFO_PREFIX = "";
@@ -286,15 +292,21 @@
286292
CLANG_CXX_LIBRARY = "libc++";
287293
CLANG_ENABLE_MODULES = YES;
288294
CLANG_ENABLE_OBJC_ARC = YES;
295+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
289296
CLANG_WARN_BOOL_CONVERSION = YES;
297+
CLANG_WARN_COMMA = YES;
290298
CLANG_WARN_CONSTANT_CONVERSION = YES;
291299
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
292300
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
293301
CLANG_WARN_EMPTY_BODY = YES;
294302
CLANG_WARN_ENUM_CONVERSION = YES;
295303
CLANG_WARN_INFINITE_RECURSION = YES;
296304
CLANG_WARN_INT_CONVERSION = YES;
305+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
306+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
297307
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
308+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
309+
CLANG_WARN_STRICT_PROTOTYPES = YES;
298310
CLANG_WARN_SUSPICIOUS_MOVE = YES;
299311
CLANG_WARN_SUSPICIOUS_MOVES = YES;
300312
CLANG_WARN_UNREACHABLE_CODE = YES;
@@ -313,10 +325,10 @@
313325
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
314326
GCC_WARN_UNUSED_FUNCTION = YES;
315327
GCC_WARN_UNUSED_VARIABLE = YES;
316-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
317328
MTL_ENABLE_DEBUG_INFO = NO;
318329
SDKROOT = iphoneos;
319330
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
331+
SWIFT_VERSION = 4.0;
320332
TARGETED_DEVICE_FAMILY = "1,2";
321333
VALIDATE_PRODUCT = YES;
322334
VERSIONING_SYSTEM = "apple-generic";
@@ -335,12 +347,14 @@
335347
DYLIB_INSTALL_NAME_BASE = "@rpath";
336348
INFOPLIST_FILE = ScrollableSegmentedControl/Info.plist;
337349
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
350+
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
338351
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
339352
PRODUCT_BUNDLE_IDENTIFIER = au.com.pomarium.ScrollableSegmentedControl;
340353
PRODUCT_NAME = "$(TARGET_NAME)";
341354
SKIP_INSTALL = YES;
342355
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
343-
SWIFT_VERSION = 3.0;
356+
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
357+
SWIFT_VERSION = 4.0;
344358
};
345359
name = Debug;
346360
};
@@ -355,12 +369,14 @@
355369
DYLIB_INSTALL_NAME_BASE = "@rpath";
356370
INFOPLIST_FILE = ScrollableSegmentedControl/Info.plist;
357371
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
372+
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
358373
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
359374
LLVM_LTO = YES;
360375
PRODUCT_BUNDLE_IDENTIFIER = au.com.pomarium.ScrollableSegmentedControl;
361376
PRODUCT_NAME = "$(TARGET_NAME)";
362377
SKIP_INSTALL = YES;
363-
SWIFT_VERSION = 3.0;
378+
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
379+
SWIFT_VERSION = 4.0;
364380
};
365381
name = Release;
366382
};
@@ -372,7 +388,7 @@
372388
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
373389
PRODUCT_BUNDLE_IDENTIFIER = au.com.pomarium.ScrollableSegmentedControlTests;
374390
PRODUCT_NAME = "$(TARGET_NAME)";
375-
SWIFT_VERSION = 3.0;
391+
SWIFT_VERSION = 4.0;
376392
};
377393
name = Debug;
378394
};
@@ -384,7 +400,7 @@
384400
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
385401
PRODUCT_BUNDLE_IDENTIFIER = au.com.pomarium.ScrollableSegmentedControlTests;
386402
PRODUCT_NAME = "$(TARGET_NAME)";
387-
SWIFT_VERSION = 3.0;
403+
SWIFT_VERSION = 4.0;
388404
};
389405
name = Release;
390406
};

ScrollableSegmentedControl/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.2.1</string>
18+
<string>1.3.0</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
<key>NSPrincipalClass</key>

0 commit comments

Comments
 (0)