This repository has been archived by the owner on Jan 2, 2020. It is now read-only.
Releases: jonreid/MockUIAlertController
Releases · jonreid/MockUIAlertController
v3.2.0
v3.1.0
Version 3.1.0
01 Jan 2019
- Added
actions
which greatly simplify Swift tests. Instead ofalertVerifier.actionsTitles[0] as? String
, usealertVerifier.actions[0].title
- Added
preferredAction
- Added
textFields
- Share scheme for Carthage builds. Thanks to: Kevin Donnelly
Deprecated:
- Deprecated
actionTitles
and-styleForButtonWithTitle:
. Useactions
instead.
v3.0.0
v2.0.2
v2.0.1
v2.0.0
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.
v1.1.1
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