Skip to content

Commit

Permalink
update to 1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
coolbnjmn committed Sep 27, 2017
1 parent 3b865e8 commit d605c5f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 12 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
## Note: Will eventually be automated by fastlane, but manual updates for now!
## Note 2: Keep this document's max column width to 80 characters! Thank you :)

##### v 1.1.2:
- The `var accessibilityControls` is now a function! `rapidAccessibilityControls`,
just use that to return your variables you otherwise put into accessibilityControls.
- Updated dependencies accordingly with Swift 4's protocol changes

##### v 1.1.1:
- Moved accessibilityControls into RapidAccessible protocol (from RapidIdentifiable)
- Killed some warnings
Expand Down
2 changes: 1 addition & 1 deletion RapidA11y.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'RapidA11y'
s.version = '1.1.1'
s.version = '1.1.2'
s.summary = 'Accessibility framework build to interact with RapidTests, a UI testing framework.'
s.description = 'RapidA11y is an accessibility framework built to ease the addition of accessibility to
an iOS application. This enables both easy VoiceOver implementations and integration into RapidTests, a partner
Expand Down
2 changes: 0 additions & 2 deletions RapidA11y/Rapid.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ public protocol RapidAccessible {
}

public protocol RapidIdentifiable {
associatedtype Control: RapidControlIdentifiable
func accessibilityControls() -> [Control]
func applyAccessibility()
}

Expand Down
8 changes: 0 additions & 8 deletions RapidA11y/UIViewController+Rapid.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,6 @@
import UIKit

extension UIViewController: RapidIdentifiable {
public typealias Control = NSObject

open func accessibilityControls() -> [Control] {
// Override this in your view controllers
// put actual references to UIControls in your views
return []
}

// Make sure to call this in `viewDidLoad()` after your UI is set up
public func applyAccessibility() {
guard let accessibleSelf = self as? RapidAccessible else {
Expand Down
2 changes: 1 addition & 1 deletion RapidTests.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'RapidTests'
s.version = '1.1.1'
s.version = '1.1.2'
s.summary = 'UI testing framework built on top of RapidA11y.'
s.description = 'RapidTests is a UI testing framework built to ease the creation and
maintenance of UI tests in a complex iOS application. This framework is used only in
Expand Down

0 comments on commit d605c5f

Please sign in to comment.