-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTextFieldValidator.podspec
More file actions
24 lines (23 loc) · 1.47 KB
/
TextFieldValidator.podspec
File metadata and controls
24 lines (23 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#
# Be sure to run `pod spec lint MyFramework.podspec' to ensure this is a
# valid spec and to remove all comments including this before submitting the spec.
#
# To learn more about Podspec attributes see https://guides.cocoapods.org/syntax/podspec.html
# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
#
Pod::Spec.new do |s|
s.name = "TextFieldValidator"
s.version = "1.0"
s.summary = "Validate textField's text property to ensure some text exists, and present an alert if it doesn't in just a few lines."
s.description = <<-DESC
Validate one or more textField's text property to ensure some text exists, and present an alert if it doesn't in just a few lines. Multiple textFields being passed in to the validator will be validated at once, and the message set for the textField will be separated by ",\n" by default. There is a closure which by default is set to an empty closure. Code in the closure triggers when the alert is dismissed (OK is tapped).
DESC
s.homepage = "https://github.com/froggomad/TextFieldValidator"
s.license = { :type => "MIT", :file => "LICENSE.txt" }
s.author = { "froggomad" => "kenny.dubroff@kennydubroff.com" }
s.source = { :path => '.' }
s.source = { :git => "https://github.com/froggomad/TextFieldValidator.git", :tag => "#{s.version}" }
s.source_files = "TextFieldValidator/**/*.swift"
s.swift_versions = "5"
s.platforms = {:ios => 13.2}
end