Skip to content

Commit

Permalink
Merge pull request #29 from ra1028/drop-support-swift4_2
Browse files Browse the repository at this point in the history
Drop support Swift 4.2
  • Loading branch information
ra1028 authored Jul 29, 2019
2 parents a6062ed + 1d98b04 commit d7a7077
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .swift-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.2
5.0
3 changes: 2 additions & 1 deletion Carbon.playground/Contents.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,12 @@ struct Label: Component, Equatable {
// Create renderer

let renderer = Renderer(
target: tableView,
adapter: UITableViewAdapter(),
updater: UITableViewUpdater()
)

renderer.target = tableView

// Render

renderer.render(
Expand Down
6 changes: 0 additions & 6 deletions Carbon.playground/timeline.xctimeline

This file was deleted.

8 changes: 4 additions & 4 deletions Carbon.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@
PROVISIONING_PROFILE_SPECIFIER = "";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
SWIFT_VERSION = 4.2;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
Expand Down Expand Up @@ -674,7 +674,7 @@
PROVISIONING_PROFILE_SPECIFIER = "";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
SWIFT_VERSION = 4.2;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
Expand All @@ -694,7 +694,7 @@
PRODUCT_BUNDLE_IDENTIFIER = com.ryo.Tests;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_VERSION = 4.2;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
Expand All @@ -714,7 +714,7 @@
PRODUCT_BUNDLE_IDENTIFIER = com.ryo.Tests;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_VERSION = 4.2;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
Expand Down
4 changes: 2 additions & 2 deletions Examples/Example-iOS/Example-iOS.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@
PRODUCT_BUNDLE_IDENTIFIER = "com.ryo.Example-iOS";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_VERSION = 4.2;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
Expand All @@ -669,7 +669,7 @@
PRODUCT_BUNDLE_IDENTIFIER = "com.ryo.Example-iOS";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_VERSION = 4.2;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -504,8 +504,8 @@ Default is `false`.

## Requirements

- Swift 4.2+
- iOS 10.0+
- Swift 5.0+
- iOS 10.2+

---

Expand Down
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
strategy:
maxParallel: 10
matrix:
xcode10_1:
DEVELOPER_DIR: /Applications/Xcode_10.1.app
xcode10_2:
DEVELOPER_DIR: /Applications/Xcode_10.2.app
xcode11:
DEVELOPER_DIR: /Applications/Xcode_11.app
steps:
- checkout: self
submodules: true
Expand Down
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -651,8 +651,8 @@ <h4 id='updater-customization' class='heading'>Updater Customization</h4>
<h2 id='requirements' class='heading'>Requirements</h2>

<ul>
<li>Swift 4.2+</li>
<li>iOS 10.0+</li>
<li>Swift 5.0+</li>
<li>iOS 10.2+</li>
</ul>

<hr>
Expand Down

0 comments on commit d7a7077

Please sign in to comment.