From b147adbf6b5f14c105be1606c2c48fa29aef3e99 Mon Sep 17 00:00:00 2001 From: Christoph Wendt Date: Wed, 15 Sep 2021 23:21:23 +0200 Subject: [PATCH 1/5] docs: update codecov config --- codecov.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/codecov.yml b/codecov.yml index a2e62b0..22814dc 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,3 +1,5 @@ ignore: - - "Example/Tests" - - "Example/Pods" + - ".swiftpm" + - ".build" + - "BuildTools" + - "Tests" From ba04e8bc72c885a5ef0511944e04453d3ebe6744 Mon Sep 17 00:00:00 2001 From: Christoph Wendt Date: Sun, 19 Sep 2021 16:13:24 +0200 Subject: [PATCH 2/5] Update README.md --- README.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/README.md b/README.md index cec0ac4..ed9b656 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ Capable offers a whole lot of features along with a bunch of configurations. To ## Installation -There are currently four different ways to integrate Capable into your apps. +There are currently three different ways to integrate Capable into your apps. ### CocoaPods @@ -68,11 +68,6 @@ dependencies: [ ] ``` -### Manually - -Simply drop `Capable.xcodeproj` into your project. Also make sure to add -`Capable.framework` to your app’s embedded frameworks found in the General tab of your main project. - ## Usage ### Register for (specific) accessibility settings From 1b2db1470e7293b06d5418f9cf376cbf7e76d447 Mon Sep 17 00:00:00 2001 From: Christoph Wendt Date: Sat, 2 Oct 2021 16:30:27 +0200 Subject: [PATCH 3/5] Update README.md --- README.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/README.md b/README.md index ed9b656..5d677a0 100644 --- a/README.md +++ b/README.md @@ -3,13 +3,10 @@ --- [![Awesome](https://camo.githubusercontent.com/13c4e50d88df7178ae1882a203ed57b641674f94/68747470733a2f2f63646e2e7261776769742e636f6d2f73696e647265736f726875732f617765736f6d652f643733303566333864323966656437386661383536353265336136336531353464643865383832392f6d656469612f62616467652e737667)](https://github.com/vsouza/awesome-ios#accessibility) -[![Build Status](https://app.bitrise.io/app/bffa0ab34e532968/status.svg?token=brzakeKmTQGYMdW-lNmClg&branch=develop)](https://app.bitrise.io/app/bffa0ab34e532968) ![Swift](https://img.shields.io/badge/swift-5.0-red.svg) ![Platforms](https://img.shields.io/cocoapods/p/Capable.svg) [![Cocoapods compatible](https://img.shields.io/cocoapods/v/Capable.svg)](https://cocoapods.org/pods/Capable) ![SPM](https://img.shields.io/badge/SPM-compatible-ff59b4) -[![Carthage compatible](https://img.shields.io/badge/carthage-compatible-4BC51D.svg)](https://github.com/Carthage/Carthage) -[![codecov](https://codecov.io/gh/chrs1885/Capable/branch/develop/graph/badge.svg)](https://codecov.io/gh/chrs1885/Capable) [![Twitter](https://img.shields.io/badge/twitter-%40chr__wendt-58a1f2.svg)](https://twitter.com/chr_wendt) # Accessibility for iOS, macOS, tvOS, and watchOS From 6b107d28ce2ac93c3e863557963dff3ff4e1a9f5 Mon Sep 17 00:00:00 2001 From: Cosmic Flamingo <67525430+acosmicflamingo@users.noreply.github.com> Date: Tue, 9 Nov 2021 23:55:50 -0600 Subject: [PATCH 4/5] Fix converting NSNotification.Name to String error This is an attempt to fix the "Cannot convert value of type 'NSNotification.Name' to expected argument type 'String'" issue. Although appending '.rawValue' resolves the error, it would probably be more elegant if that line is just: name: UIAccessibility.differentiateWithoutColorDidChangeNotification --- Sources/Capable/Plugins/DifferentiateWithoutColor.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Capable/Plugins/DifferentiateWithoutColor.swift b/Sources/Capable/Plugins/DifferentiateWithoutColor.swift index ab4a2fe..20358e8 100644 --- a/Sources/Capable/Plugins/DifferentiateWithoutColor.swift +++ b/Sources/Capable/Plugins/DifferentiateWithoutColor.swift @@ -55,7 +55,7 @@ extension DifferentiateWithoutColor: ObservableFeatureProtocol { notificationCenter.addObserver( self, selector: #selector(valueChanged), - name: NSNotification.Name(rawValue: UIAccessibility.differentiateWithoutColorDidChangeNotification), + name: NSNotification.Name(rawValue: UIAccessibility.differentiateWithoutColorDidChangeNotification.rawValue), object: nil ) } From f220d0254d79463a0851a29cd4eb4e4ebe2694dd Mon Sep 17 00:00:00 2001 From: Christoph Wendt Date: Fri, 11 Mar 2022 19:25:28 +0100 Subject: [PATCH 5/5] Update version to 2.0.1 --- CHANGELOG.md | 5 +++++ Capable.podspec | 2 +- README.md | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5fff733..8a4a7a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## Version 2.0.1 + +### Bugfixes +* [Fix build issue due to incorrect NSNotification name](https://github.com/chrs1885/Capable/pull/63). *(Thanks to @acosmicflamingo)* + ## Version 2.0.0 ### Enhancements diff --git a/Capable.podspec b/Capable.podspec index 8c83172..ca31188 100644 --- a/Capable.podspec +++ b/Capable.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'Capable' - s.version = '2.0.0' + s.version = '2.0.1' s.summary = 'Unified accessibility API for all Apple platforms and WCAG 2.1 conformance level calculation for color contrasts.' s.description = <<-DESC diff --git a/README.md b/README.md index 5d677a0..3f6f94f 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ github "chrs1885/Capable" ```ruby dependencies: [ - .package(url: "https://github.com/chrs1885/Capable.git", from: "2.0.0") + .package(url: "https://github.com/chrs1885/Capable.git", from: "2.0.1") ] ```