no message

This commit is contained in:
Giuseppe Nucifora 2016-01-18 09:49:11 +01:00
parent 3165e2eef8
commit 2deafc8b58
21 changed files with 1783 additions and 1151 deletions

View File

@ -12,6 +12,7 @@ target 'PNObject_Example' do
pod 'nv-ios-http-status'
pod 'NSString-Helper'
pod 'CodFis-Helper'
pod 'StrongestPasswordValidator'
end
target 'PNObject_Tests' do

View File

@ -37,6 +37,7 @@ PODS:
- PEAR-FileManager-iOS
- UIDevice-Utils
- Specta (1.0.5)
- StrongestPasswordValidator (0.1.1)
- UIDevice-Utils (0.1.2)
DEPENDENCIES:
@ -51,6 +52,7 @@ DEPENDENCIES:
- PEAR-FileManager-iOS
- PNObject (from `../`)
- Specta
- StrongestPasswordValidator
- UIDevice-Utils
EXTERNAL SOURCES:
@ -69,8 +71,9 @@ SPEC CHECKSUMS:
PEAR-FileManager-iOS: 3bc403f68a53483f5629aa822f4649e40275c4d3
PNObject: b71ba455c15aedd1233cdf02bcf65d348d96da72
Specta: ac94d110b865115fe60ff2c6d7281053c6f8e8a2
StrongestPasswordValidator: 554de9038705e18904f0337903dfd3b85a6b271b
UIDevice-Utils: 14362004e88f8cc05d8ec68369724a5972faadec
PODFILE CHECKSUM: 0d7631fa9630897cdcd1e75178adc74239fcf568
PODFILE CHECKSUM: 3d7d9ec922a37131d59224a7700af30168ea90b1
COCOAPODS: 1.0.0.beta.2

View File

@ -37,6 +37,7 @@ PODS:
- PEAR-FileManager-iOS
- UIDevice-Utils
- Specta (1.0.5)
- StrongestPasswordValidator (0.1.1)
- UIDevice-Utils (0.1.2)
DEPENDENCIES:
@ -51,6 +52,7 @@ DEPENDENCIES:
- PEAR-FileManager-iOS
- PNObject (from `../`)
- Specta
- StrongestPasswordValidator
- UIDevice-Utils
EXTERNAL SOURCES:
@ -69,8 +71,9 @@ SPEC CHECKSUMS:
PEAR-FileManager-iOS: 3bc403f68a53483f5629aa822f4649e40275c4d3
PNObject: b71ba455c15aedd1233cdf02bcf65d348d96da72
Specta: ac94d110b865115fe60ff2c6d7281053c6f8e8a2
StrongestPasswordValidator: 554de9038705e18904f0337903dfd3b85a6b271b
UIDevice-Utils: 14362004e88f8cc05d8ec68369724a5972faadec
PODFILE CHECKSUM: 0d7631fa9630897cdcd1e75178adc74239fcf568
PODFILE CHECKSUM: 3d7d9ec922a37131d59224a7700af30168ea90b1
COCOAPODS: 1.0.0.beta.2

File diff suppressed because it is too large Load Diff

View File

@ -14,7 +14,7 @@
buildForArchiving = "YES">
<BuildableReference
BuildableIdentifier = 'primary'
BlueprintIdentifier = '0BE3E9C20BEF117C39B67B08'
BlueprintIdentifier = 'ECB7C6AA04CE9C3E543F286B'
BlueprintName = 'PNObject'
ReferencedContainer = 'container:Pods.xcodeproj'
BuildableName = 'PNObject.framework'>

View File

@ -0,0 +1,19 @@
Copyright (c) 2016 Giuseppe Nucifora <me@giuseppenucifora.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@ -0,0 +1,27 @@
//
// StrongestPasswordValidator.h
//
// Created by Giuseppe Nucifora on 03/01/13.
// Copyright (c) 2013 Giuseppe Nucifora. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface StrongestPasswordValidator : NSObject
typedef NS_ENUM(NSInteger, PasswordStrengthType) {
PasswordStrengthTypeWeak,
PasswordStrengthTypeModerate,
PasswordStrengthTypeStrong
};
+ (instancetype _Nonnull) sharedInstance;
- (void) setColor:(UIColor * _Nonnull) color forPasswordStrenghtType:(PasswordStrengthType) strenghtType;
- (void)checkPasswordStrength:(NSString * _Nonnull )password withBlock:(nullable void (^)(UIColor * _Nonnull color, PasswordStrengthType strenghtType)) responseBlock;
- (PasswordStrengthType)checkPasswordStrength:(NSString * _Nonnull)password;
@end

View File

@ -0,0 +1,171 @@
#import "StrongestPasswordValidator.h"
#define REGEX_PASSWORD_ONE_UPPERCASE @"^(?=.*[A-Z]).*$" //Should contains one or more uppercase letters
#define REGEX_PASSWORD_ONE_LOWERCASE @"^(?=.*[a-z]).*$" //Should contains one or more lowercase letters
#define REGEX_PASSWORD_ONE_NUMBER @"^(?=.*[0-9]).*$" //Should contains one or more number
#define REGEX_PASSWORD_ONE_SYMBOL @"^(?=.*[!@#$%&_]).*$" //Should contains one or more symbol
@interface StrongestPasswordValidator()
@property (nonatomic, strong) UIColor *weakColor;
@property (nonatomic, strong) UIColor *moderateColor;
@property (nonatomic, strong) UIColor *strongColor;
@end
@implementation StrongestPasswordValidator
static StrongestPasswordValidator *SINGLETON = nil;
static bool isFirstAccess = YES;
+ (instancetype)sharedInstance
{
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
isFirstAccess = NO;
SINGLETON = [[super allocWithZone:NULL] init];
});
return SINGLETON;
}
- (void) setColor:(UIColor *)color forPasswordStrenghtType:(PasswordStrengthType)strenghtType {
switch (strenghtType) {
case PasswordStrengthTypeWeak: {
_weakColor = color;
break;
}
case PasswordStrengthTypeModerate: {
_moderateColor = color;
break;
}
case PasswordStrengthTypeStrong: {
_strongColor = color;
break;
}
}
}
#pragma mark - Life Cycle
+ (instancetype) allocWithZone:(NSZone *)zone
{
return [self sharedInstance];
}
+ (instancetype)copyWithZone:(struct _NSZone *)zone
{
return [self sharedInstance];
}
+ (instancetype)mutableCopyWithZone:(struct _NSZone *)zone
{
return [self sharedInstance];
}
- (instancetype)copy
{
return [[StrongestPasswordValidator alloc] init];
}
- (instancetype)mutableCopy
{
return [[StrongestPasswordValidator alloc] init];
}
- (id) init
{
if(SINGLETON){
return SINGLETON;
}
if (isFirstAccess) {
[self doesNotRecognizeSelector:_cmd];
}
self = [super init];
if (self) {
_weakColor = [UIColor redColor];
_moderateColor = [UIColor yellowColor];
_strongColor = [UIColor greenColor];
}
return self;
}
- (void)checkPasswordStrength:(NSString * _Nonnull )password withBlock:(nullable void (^)(UIColor * _Nonnull color, PasswordStrengthType strenghtType)) responseBlock; {
if (responseBlock) {
PasswordStrengthType strenght = [self checkPasswordStrength:password];
switch (strenght) {
case PasswordStrengthTypeWeak: {
responseBlock(_weakColor,strenght);
break;
}
case PasswordStrengthTypeModerate: {
responseBlock(_moderateColor,strenght);
break;
}
case PasswordStrengthTypeStrong: {
responseBlock(_strongColor,strenght);
break;
}
default:
break;
}
}
}
- (PasswordStrengthType)checkPasswordStrength:(NSString *)password {
NSInteger len = (long)password.length;
//will contains password strength
int strength = 0;
if (len == 0) {
return PasswordStrengthTypeWeak;
} else if (len <= 5) {
strength++;
} else if (len <= 10) {
strength += 2;
} else{
strength += 3;
}
strength += [self validateString:password withPattern:REGEX_PASSWORD_ONE_UPPERCASE caseSensitive:YES];
strength += [self validateString:password withPattern:REGEX_PASSWORD_ONE_LOWERCASE caseSensitive:YES];
strength += [self validateString:password withPattern:REGEX_PASSWORD_ONE_NUMBER caseSensitive:YES];
strength += [self validateString:password withPattern:REGEX_PASSWORD_ONE_SYMBOL caseSensitive:YES];
if(strength <= 3){
return PasswordStrengthTypeWeak;
}else if(3 < strength && strength < 6){
return PasswordStrengthTypeModerate;
}else{
return PasswordStrengthTypeStrong;
}
}
// Validate the input string with the given pattern and
// return the result as a boolean
- (int)validateString:(NSString *)string withPattern:(NSString *)pattern caseSensitive:(BOOL)caseSensitive
{
NSError *error = nil;
NSRegularExpression *regex = [NSRegularExpression regularExpressionWithPattern:pattern options:((caseSensitive) ? 0 : NSRegularExpressionCaseInsensitive) error:&error];
NSAssert(regex, @"Unable to create regular expression");
NSRange textRange = NSMakeRange(0, string.length);
NSRange matchRange = [regex rangeOfFirstMatchInString:string options:NSMatchingReportProgress range:textRange];
BOOL didValidate = 0;
// Did we find a matching range
if (matchRange.location != NSNotFound)
didValidate = 1;
return didValidate;
}
@end

View File

@ -0,0 +1,29 @@
# StrongestPasswordValidator
[![CI Status](http://img.shields.io/travis/Giuseppe Nucifora/StrongestPasswordValidator.svg?style=flat)](https://travis-ci.org/Giuseppe Nucifora/StrongestPasswordValidator)
[![Version](https://img.shields.io/cocoapods/v/StrongestPasswordValidator.svg?style=flat)](http://cocoapods.org/pods/StrongestPasswordValidator)
[![License](https://img.shields.io/cocoapods/l/StrongestPasswordValidator.svg?style=flat)](http://cocoapods.org/pods/StrongestPasswordValidator)
[![Platform](https://img.shields.io/cocoapods/p/StrongestPasswordValidator.svg?style=flat)](http://cocoapods.org/pods/StrongestPasswordValidator)
## Usage
To run the example project, clone the repo, and run `pod install` from the Example directory first.
## Requirements
## Installation
StrongestPasswordValidator is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:
```ruby
pod "StrongestPasswordValidator"
```
## Author
Giuseppe Nucifora, me@giuseppenucifora.com
## License
StrongestPasswordValidator is available under the MIT license. See the LICENSE file for more info.

View File

@ -140,6 +140,29 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
## StrongestPasswordValidator
Copyright (c) 2016 Giuseppe Nucifora <me@giuseppenucifora.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
## UIDevice-Utils
Copyright (c) 2015 Giuseppe Nucifora <me@giuseppenucifora.com>

View File

@ -175,6 +175,33 @@ THE SOFTWARE.
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
<dict>
<key>FooterText</key>
<string>Copyright (c) 2016 Giuseppe Nucifora &lt;me@giuseppenucifora.com&gt;
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
</string>
<key>Title</key>
<string>StrongestPasswordValidator</string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
<dict>
<key>FooterText</key>
<string>Copyright (c) 2015 Giuseppe Nucifora &lt;me@giuseppenucifora.com&gt;

View File

@ -90,6 +90,7 @@ if [[ "$CONFIGURATION" == "Debug" ]]; then
install_framework "Pods-PNObject_Example/NSString_Helper.framework"
install_framework "Pods-PNObject_Example/PEAR_FileManager_iOS.framework"
install_framework "Pods-PNObject_Example/PNObject.framework"
install_framework "Pods-PNObject_Example/StrongestPasswordValidator.framework"
install_framework "Pods-PNObject_Example/UIDevice_Utils.framework"
install_framework "Pods-PNObject_Example/nv_ios_http_status.framework"
fi
@ -100,6 +101,7 @@ if [[ "$CONFIGURATION" == "Release" ]]; then
install_framework "Pods-PNObject_Example/NSString_Helper.framework"
install_framework "Pods-PNObject_Example/PEAR_FileManager_iOS.framework"
install_framework "Pods-PNObject_Example/PNObject.framework"
install_framework "Pods-PNObject_Example/StrongestPasswordValidator.framework"
install_framework "Pods-PNObject_Example/UIDevice_Utils.framework"
install_framework "Pods-PNObject_Example/nv_ios_http_status.framework"
fi

View File

@ -1,6 +1,6 @@
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/AFNetworking.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/CodFis_Helper.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/NSDate_Utils.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/NSString_Helper.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/PEAR_FileManager_iOS.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/PNObject.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/UIDevice_Utils.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/nv_ios_http_status.framework/Headers"
OTHER_LDFLAGS = $(inherited) -framework "AFNetworking" -framework "CodFis_Helper" -framework "NSDate_Utils" -framework "NSString_Helper" -framework "PEAR_FileManager_iOS" -framework "PNObject" -framework "UIDevice_Utils" -framework "nv_ios_http_status"
OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/AFNetworking.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/CodFis_Helper.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/NSDate_Utils.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/NSString_Helper.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/PEAR_FileManager_iOS.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/PNObject.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/StrongestPasswordValidator.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/UIDevice_Utils.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/nv_ios_http_status.framework/Headers"
OTHER_LDFLAGS = $(inherited) -framework "AFNetworking" -framework "CodFis_Helper" -framework "NSDate_Utils" -framework "NSString_Helper" -framework "PEAR_FileManager_iOS" -framework "PNObject" -framework "StrongestPasswordValidator" -framework "UIDevice_Utils" -framework "nv_ios_http_status"
PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-PNObject_Example
PODS_ROOT = ${SRCROOT}/Pods

View File

@ -1,6 +1,6 @@
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/AFNetworking.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/CodFis_Helper.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/NSDate_Utils.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/NSString_Helper.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/PEAR_FileManager_iOS.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/PNObject.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/UIDevice_Utils.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/nv_ios_http_status.framework/Headers"
OTHER_LDFLAGS = $(inherited) -framework "AFNetworking" -framework "CodFis_Helper" -framework "NSDate_Utils" -framework "NSString_Helper" -framework "PEAR_FileManager_iOS" -framework "PNObject" -framework "UIDevice_Utils" -framework "nv_ios_http_status"
OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/AFNetworking.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/CodFis_Helper.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/NSDate_Utils.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/NSString_Helper.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/PEAR_FileManager_iOS.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/PNObject.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/StrongestPasswordValidator.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/UIDevice_Utils.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/nv_ios_http_status.framework/Headers"
OTHER_LDFLAGS = $(inherited) -framework "AFNetworking" -framework "CodFis_Helper" -framework "NSDate_Utils" -framework "NSString_Helper" -framework "PEAR_FileManager_iOS" -framework "PNObject" -framework "StrongestPasswordValidator" -framework "UIDevice_Utils" -framework "nv_ios_http_status"
PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-PNObject_Example
PODS_ROOT = ${SRCROOT}/Pods

View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIdentifier</key>
<string>${PRODUCT_BUNDLE_IDENTIFIER}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>0.1.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>${CURRENT_PROJECT_VERSION}</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>

View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleIdentifier</key>
<string>${PRODUCT_BUNDLE_IDENTIFIER}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>0.1.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>${CURRENT_PROJECT_VERSION}</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>

View File

@ -0,0 +1,5 @@
#import <Foundation/Foundation.h>
@interface PodsDummy_StrongestPasswordValidator : NSObject
@end
@implementation PodsDummy_StrongestPasswordValidator
@end

View File

@ -0,0 +1,4 @@
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif

View File

@ -0,0 +1,7 @@
#import <UIKit/UIKit.h>
#import "StrongestPasswordValidator.h"
FOUNDATION_EXPORT double StrongestPasswordValidatorVersionNumber;
FOUNDATION_EXPORT const unsigned char StrongestPasswordValidatorVersionString[];

View File

@ -0,0 +1,6 @@
framework module StrongestPasswordValidator {
umbrella header "StrongestPasswordValidator-umbrella.h"
export *
module * { export * }
}

View File

@ -0,0 +1,6 @@
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public"
OTHER_LDFLAGS = -framework "UIKit"
PODS_ROOT = ${SRCROOT}
PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
SKIP_INSTALL = YES