diff --git a/.swift-version b/.swift-version index 8012ebb..819e07a 100644 --- a/.swift-version +++ b/.swift-version @@ -1 +1 @@ -4.2 \ No newline at end of file +5.0 diff --git a/Carbon.playground/Contents.swift b/Carbon.playground/Contents.swift index 90c867e..08dfded 100644 --- a/Carbon.playground/Contents.swift +++ b/Carbon.playground/Contents.swift @@ -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( diff --git a/Carbon.playground/timeline.xctimeline b/Carbon.playground/timeline.xctimeline deleted file mode 100644 index bf468af..0000000 --- a/Carbon.playground/timeline.xctimeline +++ /dev/null @@ -1,6 +0,0 @@ - - - - - diff --git a/Carbon.xcodeproj/project.pbxproj b/Carbon.xcodeproj/project.pbxproj index 5922748..fe18847 100644 --- a/Carbon.xcodeproj/project.pbxproj +++ b/Carbon.xcodeproj/project.pbxproj @@ -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; @@ -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; @@ -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; @@ -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; diff --git a/Examples/Example-iOS/Example-iOS.xcodeproj/project.pbxproj b/Examples/Example-iOS/Example-iOS.xcodeproj/project.pbxproj index a995a6a..2f7710c 100644 --- a/Examples/Example-iOS/Example-iOS.xcodeproj/project.pbxproj +++ b/Examples/Example-iOS/Example-iOS.xcodeproj/project.pbxproj @@ -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; @@ -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; diff --git a/README.md b/README.md index 1bb79af..678de71 100644 --- a/README.md +++ b/README.md @@ -504,8 +504,8 @@ Default is `false`. ## Requirements -- Swift 4.2+ -- iOS 10.0+ +- Swift 5.0+ +- iOS 10.2+ --- diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 77ebe15..853e10e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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 diff --git a/docs/index.html b/docs/index.html index 62a487a..04f1fb5 100644 --- a/docs/index.html +++ b/docs/index.html @@ -651,8 +651,8 @@

Updater Customization

Requirements