Skip to content
This repository has been archived by the owner on Jan 2, 2020. It is now read-only.

Latest commit

 

History

History
81 lines (54 loc) · 2.21 KB

CHANGELOG.md

File metadata and controls

81 lines (54 loc) · 2.21 KB

Version 3.2.0

10 Feb 2019

  • Added completion closure invoked when alert is presented. If you present an alert from DispatchQueue.main.async, you can use this to fulfill an XCTestExpectation for async testing.
  • Improved README instructions on bridging header for Swift.

Version 3.1.0

01 Jan 2019

  • Added actions which greatly simplify Swift tests. Instead of alertVerifier.actionsTitles[0] as? String, use alertVerifier.actions[0].title
  • Added preferredAction
  • Added textFields
  • Share scheme for Carthage builds. Thanks to: Kevin Donnelly

Deprecated:

  • Deprecated actionTitles and -styleForButtonWithTitle:. Use actions instead.

Version 3.0.0

02 Feb 2018

  • Changed animated from NSNumber to BOOL.
  • Added presentingViewController

Version 2.0.2

30 Jan 2018

  • Fixed crash when presenting UIDocumentMenuViewController while mocking UIAlertController. Thanks to: Andrei Tulai

Version 2.0.1

06 Mar 2017

  • Fixed nullability mistake: actionTitles are non-null.
  • Add shared scheme to satisfy latest version of Carthage.

Version 2.0.0

19 Feb 2017

  • Annotate nullability. The QCOMockAlertVerifier initializer is now non-null, which changes Swift use.
  • Added Swift sample app.
  • Updated example tests to put QCOMockAlertVerifier in test fixture. This is now recommended, to avoid tests which accidentally present real alerts.

Version 1.1.1

11 Sep 2016

  • Change UIAlertController's actual preferredStyle instead of keeping it in an associated property, to avoid UIKit consistency exceptions. Thanks to: nirgin
  • Allow executeActionForButtonWithTitle: even when no handler was set. Thanks to: John Foulkes
  • Don't record presentation of non-alerts. Thanks to: Tom Bates
  • Quiet runtime warning about attempting to load view controller while deallocating. Thanks to: Marcelo Fabri

Version 1.1.0

24 Dec 2015

  • Repackage as Cocoa Touch Framework project.
  • Support Carthage.
  • CocoaPods: Distinguish between public headers and private headers.

Version 1.0.0

23 Aug 2015

  • Initial release. Thanks to Victor Ilyukevich for suggestions, testing, and cleanup.