Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ns-vasilev committed Jan 10, 2024
1 parent 4a776f9 commit 5b850b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
All notable changes to this project will be documented in this file.

## [Unreleased]
- Update GitHub Action Confguration
- Update GitHub Action Configuration
- Added in Pull Request [#7](https://github.com/space-code/validator/pull/7).
- Add `Swift Compatibility` & `Platform Compatibility` badges
- Added in Pull Request [#6](https://github.com/space-code/validator/pull/6).
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<h1 align="center" style="margin-top: 0px;">validator</h1>

<p align="center">
<a href="https://github.com/space-code/validator/blob/main/LICENSE"><img alt="Liscence" src="https://img.shields.io/cocoapods/l/service-core.svg?style=flat"></a>
<a href="https://github.com/space-code/validator/blob/main/LICENSE"><img alt="Licence" src="https://img.shields.io/cocoapods/l/service-core.svg?style=flat"></a>
<a href="https://swiftpackageindex.com/space-code/validator"><img alt="Swift Compatibility" src="https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fspace-code%2Fvalidator%2Fbadge%3Ftype%3Dswift-versions"/></a>
<a href="https://swiftpackageindex.com/space-code/validator"><img alt="Platform Compatibility" src="https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fspace-code%2Fvalidator%2Fbadge%3Ftype%3Dplatforms"/></a>
<a href="https://github.com/space-code/validator"><img alt="CI" src="https://github.com/space-code/validator/actions/workflows/ci.yml/badge.svg?branch=main"></a>
Expand Down Expand Up @@ -69,7 +69,7 @@ class ViewController: UIViewController {
textField.add(rule: LengthValidationRule(max: 10, error: "error text"))
/// Enables automatic validation on input change.
textField.validateOnInputChange(isEnabled: true)
/// Handels validation result.
/// Handle the validation result.
textField.validationHandler = { result in
switch result {
case .valid:
Expand Down Expand Up @@ -182,7 +182,7 @@ struct ContentView: View {
if value {
print("The form's fields are valid")
} else {
print("The form's fileds aren't valid")
print("The form's fields aren't valid")
}
}
)
Expand Down

0 comments on commit 5b850b8

Please sign in to comment.