Skip to content

Commit

Permalink
Merge branch 'release/2.0.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
chrs1885 committed Mar 11, 2022
2 parents 021d824 + f220d02 commit f9b3eaf
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 14 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion Capable.podspec
Original file line number Diff line number Diff line change
@@ -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
Expand Down
12 changes: 2 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -42,7 +39,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

Expand All @@ -64,15 +61,10 @@ 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")
]
```

### 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
Expand Down
2 changes: 1 addition & 1 deletion Sources/Capable/Plugins/DifferentiateWithoutColor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
}
Expand Down
6 changes: 4 additions & 2 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
ignore:
- "Example/Tests"
- "Example/Pods"
- ".swiftpm"
- ".build"
- "BuildTools"
- "Tests"

0 comments on commit f9b3eaf

Please sign in to comment.