Skip to content

Commit 59c5223

Browse files
committed
Updating documentation
1 parent 484ed94 commit 59c5223

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,6 @@ fastlane/Preview.html
5151
fastlane/screenshots
5252
fastlane/README.md
5353
fastlane/test_output
54+
55+
## VS Code
56+
.vscode

ReCaptcha/Classes/ReCaptcha.swift

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,14 +199,22 @@ public class ReCaptcha {
199199
manager.reset()
200200
}
201201

202+
// MARK: - Development
203+
202204
#if DEBUG
203-
/// Forces the challenge to be explicitly displayed.
205+
/// Forces the challenge widget to be explicitly displayed.
204206
public var forceVisibleChallenge: Bool {
205207
get { return manager.forceVisibleChallenge }
206208
set { manager.forceVisibleChallenge = newValue }
207209
}
208210

209-
/// Allows validation stubbing for testing
211+
/**
212+
Allows validation stubbing for testing
213+
214+
When this property is set to `true`, every call to `validate()` will immediately be resolved with `.token("")`.
215+
216+
Use only when testing your application.
217+
*/
210218
public var shouldSkipForTests: Bool {
211219
get { return manager.shouldSkipForTests }
212220
set { manager.shouldSkipForTests = newValue }

fastlane/Fastfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ platform :ios do
3333
executable: "Example/Pods/Swiftlint/swiftlint",
3434
strict: true,
3535
reporter: "emoji",
36-
3736
)
3837

3938
# The problem lies in the fact (or rather: serious bug in xcodebuild) that

0 commit comments

Comments
 (0)