Skip to content

Commit d7a7077

Browse files
authored
Merge pull request #29 from ra1028/drop-support-swift4_2
Drop support Swift 4.2
2 parents a6062ed + 1d98b04 commit d7a7077

File tree

8 files changed

+15
-20
lines changed

8 files changed

+15
-20
lines changed

.swift-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.2
1+
5.0

Carbon.playground/Contents.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,12 @@ struct Label: Component, Equatable {
3939
// Create renderer
4040

4141
let renderer = Renderer(
42-
target: tableView,
4342
adapter: UITableViewAdapter(),
4443
updater: UITableViewUpdater()
4544
)
4645

46+
renderer.target = tableView
47+
4748
// Render
4849

4950
renderer.render(

Carbon.playground/timeline.xctimeline

Lines changed: 0 additions & 6 deletions
This file was deleted.

Carbon.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@
644644
PROVISIONING_PROFILE_SPECIFIER = "";
645645
SDKROOT = iphoneos;
646646
SKIP_INSTALL = YES;
647-
SWIFT_VERSION = 4.2;
647+
SWIFT_VERSION = 5.0;
648648
TARGETED_DEVICE_FAMILY = "1,2";
649649
};
650650
name = Debug;
@@ -674,7 +674,7 @@
674674
PROVISIONING_PROFILE_SPECIFIER = "";
675675
SDKROOT = iphoneos;
676676
SKIP_INSTALL = YES;
677-
SWIFT_VERSION = 4.2;
677+
SWIFT_VERSION = 5.0;
678678
TARGETED_DEVICE_FAMILY = "1,2";
679679
};
680680
name = Release;
@@ -694,7 +694,7 @@
694694
PRODUCT_BUNDLE_IDENTIFIER = com.ryo.Tests;
695695
PRODUCT_NAME = "$(TARGET_NAME)";
696696
PROVISIONING_PROFILE_SPECIFIER = "";
697-
SWIFT_VERSION = 4.2;
697+
SWIFT_VERSION = 5.0;
698698
TARGETED_DEVICE_FAMILY = "1,2";
699699
};
700700
name = Debug;
@@ -714,7 +714,7 @@
714714
PRODUCT_BUNDLE_IDENTIFIER = com.ryo.Tests;
715715
PRODUCT_NAME = "$(TARGET_NAME)";
716716
PROVISIONING_PROFILE_SPECIFIER = "";
717-
SWIFT_VERSION = 4.2;
717+
SWIFT_VERSION = 5.0;
718718
TARGETED_DEVICE_FAMILY = "1,2";
719719
};
720720
name = Release;

Examples/Example-iOS/Example-iOS.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@
645645
PRODUCT_BUNDLE_IDENTIFIER = "com.ryo.Example-iOS";
646646
PRODUCT_NAME = "$(TARGET_NAME)";
647647
PROVISIONING_PROFILE_SPECIFIER = "";
648-
SWIFT_VERSION = 4.2;
648+
SWIFT_VERSION = 5.0;
649649
TARGETED_DEVICE_FAMILY = "1,2";
650650
};
651651
name = Debug;
@@ -669,7 +669,7 @@
669669
PRODUCT_BUNDLE_IDENTIFIER = "com.ryo.Example-iOS";
670670
PRODUCT_NAME = "$(TARGET_NAME)";
671671
PROVISIONING_PROFILE_SPECIFIER = "";
672-
SWIFT_VERSION = 4.2;
672+
SWIFT_VERSION = 5.0;
673673
TARGETED_DEVICE_FAMILY = "1,2";
674674
};
675675
name = Release;

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,8 +504,8 @@ Default is `false`.
504504

505505
## Requirements
506506

507-
- Swift 4.2+
508-
- iOS 10.0+
507+
- Swift 5.0+
508+
- iOS 10.2+
509509

510510
---
511511

azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88
strategy:
99
maxParallel: 10
1010
matrix:
11-
xcode10_1:
12-
DEVELOPER_DIR: /Applications/Xcode_10.1.app
1311
xcode10_2:
1412
DEVELOPER_DIR: /Applications/Xcode_10.2.app
13+
xcode11:
14+
DEVELOPER_DIR: /Applications/Xcode_11.app
1515
steps:
1616
- checkout: self
1717
submodules: true

docs/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -651,8 +651,8 @@ <h4 id='updater-customization' class='heading'>Updater Customization</h4>
651651
<h2 id='requirements' class='heading'>Requirements</h2>
652652

653653
<ul>
654-
<li>Swift 4.2+</li>
655-
<li>iOS 10.0+</li>
654+
<li>Swift 5.0+</li>
655+
<li>iOS 10.2+</li>
656656
</ul>
657657

658658
<hr>

0 commit comments

Comments
 (0)