Updating documentation

This commit is contained in:
Flávio Caetano 2018-09-28 11:26:58 -03:00
parent 484ed94a9b
commit 59c5223580
3 changed files with 13 additions and 3 deletions

3
.gitignore vendored
View File

@ -51,3 +51,6 @@ fastlane/Preview.html
fastlane/screenshots
fastlane/README.md
fastlane/test_output
## VS Code
.vscode

View File

@ -199,14 +199,22 @@ public class ReCaptcha {
manager.reset()
}
// MARK: - Development
#if DEBUG
/// Forces the challenge to be explicitly displayed.
/// Forces the challenge widget to be explicitly displayed.
public var forceVisibleChallenge: Bool {
get { return manager.forceVisibleChallenge }
set { manager.forceVisibleChallenge = newValue }
}
/// Allows validation stubbing for testing
/**
Allows validation stubbing for testing
When this property is set to `true`, every call to `validate()` will immediately be resolved with `.token("")`.
Use only when testing your application.
*/
public var shouldSkipForTests: Bool {
get { return manager.shouldSkipForTests }
set { manager.shouldSkipForTests = newValue }

View File

@ -33,7 +33,6 @@ platform :ios do
executable: "Example/Pods/Swiftlint/swiftlint",
strict: true,
reporter: "emoji",
)
# The problem lies in the fact (or rather: serious bug in xcodebuild) that