diff --git a/SwiftValidator.podspec b/SwiftValidator.podspec index fbfdd2c..290f1f0 100644 --- a/SwiftValidator.podspec +++ b/SwiftValidator.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.author = { "Jeff Potter" => "jeff.potter6@gmail.com" } s.social_media_url = "http://twitter.com/jpotts18" s.platform = :ios - s.ios.deployment_target = '10.0' + s.ios.deployment_target = '9.0' s.source = { :git => "https://github.com/ed-mejia/SwiftValidator.git", :tag => "4.0.1" } s.source_files = "SwiftValidator/**/*.swift" s.exclude_files = "Validator/AppDelegate.swift" diff --git a/SwiftValidator/Rules/RegexRule.swift b/SwiftValidator/Rules/RegexRule.swift index 697c626..5b500ea 100644 --- a/SwiftValidator/Rules/RegexRule.swift +++ b/SwiftValidator/Rules/RegexRule.swift @@ -11,7 +11,7 @@ import Foundation /** `RegexRule` is a subclass of Rule that defines how a regular expression is validated. */ -public class RegexRule : Rule { +open class RegexRule : Rule { /// Regular express string to be used in validation. private var REGEX: String = "^(?=.*?[A-Z]).{8,}$" /// String that holds error message. diff --git a/Validator.xcodeproj/project.pbxproj b/Validator.xcodeproj/project.pbxproj index 17b420c..72b21a1 100644 --- a/Validator.xcodeproj/project.pbxproj +++ b/Validator.xcodeproj/project.pbxproj @@ -614,7 +614,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -653,7 +653,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; VALIDATE_PRODUCT = YES;