From ef4deb51f609e55659e0d8ad3590eff3be7de634 Mon Sep 17 00:00:00 2001 From: Giuseppe Nucifora Date: Fri, 11 Mar 2016 11:35:45 +0100 Subject: [PATCH] - Update Pods - Add Reload User Notification --- Example/PNObject.xcodeproj/project.pbxproj | 36 +++++++++---------- Example/Podfile.lock | 6 ++-- .../Pods/Local Podspecs/PNObject.podspec.json | 4 +-- Example/Pods/Manifest.lock | 6 ++-- Example/Pods/Pods.xcodeproj/project.pbxproj | 4 +-- .../Target Support Files/PNObject/Info.plist | 2 +- .../ResourceBundle-PNObject-Info.plist | 2 +- .../Pods-PNObject_Example-resources.sh | 2 +- .../Pods-PNObject_Tests-resources.sh | 2 +- PNObject.podspec | 2 +- Pod/Classes/PNClasses/PNUser.m | 1 + Pod/Classes/PNObjectConfig.h | 2 +- Pod/Classes/PNObjectConfig.m | 2 ++ 13 files changed, 37 insertions(+), 34 deletions(-) diff --git a/Example/PNObject.xcodeproj/project.pbxproj b/Example/PNObject.xcodeproj/project.pbxproj index fcdd026..50bcefc 100644 --- a/Example/PNObject.xcodeproj/project.pbxproj +++ b/Example/PNObject.xcodeproj/project.pbxproj @@ -204,12 +204,12 @@ isa = PBXNativeTarget; buildConfigurationList = 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "PNObject_Example" */; buildPhases = ( - 647B517E2FE18AF68E8B23C3 /* Check Pods Manifest.lock */, + 647B517E2FE18AF68E8B23C3 /* 📦 Check Pods Manifest.lock */, 6003F586195388D20070C39A /* Sources */, 6003F587195388D20070C39A /* Frameworks */, 6003F588195388D20070C39A /* Resources */, - 43252B3B955A9E6FDF55EF8C /* Embed Pods Frameworks */, - 12D318BA313DC2FC036858CF /* Copy Pods Resources */, + 43252B3B955A9E6FDF55EF8C /* 📦 Embed Pods Frameworks */, + 12D318BA313DC2FC036858CF /* 📦 Copy Pods Resources */, ); buildRules = ( ); @@ -224,12 +224,12 @@ isa = PBXNativeTarget; buildConfigurationList = 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "PNObject_Tests" */; buildPhases = ( - 13BC374C48C25E4BE960A7C4 /* Check Pods Manifest.lock */, + 13BC374C48C25E4BE960A7C4 /* 📦 Check Pods Manifest.lock */, 6003F5AA195388D20070C39A /* Sources */, 6003F5AB195388D20070C39A /* Frameworks */, 6003F5AC195388D20070C39A /* Resources */, - 66B08B1481C5994108A958AF /* Embed Pods Frameworks */, - 5B13AE8F18948BE84DDA2DC9 /* Copy Pods Resources */, + 66B08B1481C5994108A958AF /* 📦 Embed Pods Frameworks */, + 5B13AE8F18948BE84DDA2DC9 /* 📦 Copy Pods Resources */, ); buildRules = ( ); @@ -296,14 +296,14 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ - 12D318BA313DC2FC036858CF /* Copy Pods Resources */ = { + 12D318BA313DC2FC036858CF /* 📦 Copy Pods Resources */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( ); - name = "Copy Pods Resources"; + name = "📦 Copy Pods Resources"; outputPaths = ( ); runOnlyForDeploymentPostprocessing = 0; @@ -311,14 +311,14 @@ shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-PNObject_Example/Pods-PNObject_Example-resources.sh\"\n"; showEnvVarsInLog = 0; }; - 13BC374C48C25E4BE960A7C4 /* Check Pods Manifest.lock */ = { + 13BC374C48C25E4BE960A7C4 /* 📦 Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( ); - name = "Check Pods Manifest.lock"; + name = "📦 Check Pods Manifest.lock"; outputPaths = ( ); runOnlyForDeploymentPostprocessing = 0; @@ -326,14 +326,14 @@ shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; showEnvVarsInLog = 0; }; - 43252B3B955A9E6FDF55EF8C /* Embed Pods Frameworks */ = { + 43252B3B955A9E6FDF55EF8C /* 📦 Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( ); - name = "Embed Pods Frameworks"; + name = "📦 Embed Pods Frameworks"; outputPaths = ( ); runOnlyForDeploymentPostprocessing = 0; @@ -341,14 +341,14 @@ shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-PNObject_Example/Pods-PNObject_Example-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; - 5B13AE8F18948BE84DDA2DC9 /* Copy Pods Resources */ = { + 5B13AE8F18948BE84DDA2DC9 /* 📦 Copy Pods Resources */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( ); - name = "Copy Pods Resources"; + name = "📦 Copy Pods Resources"; outputPaths = ( ); runOnlyForDeploymentPostprocessing = 0; @@ -356,14 +356,14 @@ shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-PNObject_Tests/Pods-PNObject_Tests-resources.sh\"\n"; showEnvVarsInLog = 0; }; - 647B517E2FE18AF68E8B23C3 /* Check Pods Manifest.lock */ = { + 647B517E2FE18AF68E8B23C3 /* 📦 Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( ); - name = "Check Pods Manifest.lock"; + name = "📦 Check Pods Manifest.lock"; outputPaths = ( ); runOnlyForDeploymentPostprocessing = 0; @@ -371,14 +371,14 @@ shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; showEnvVarsInLog = 0; }; - 66B08B1481C5994108A958AF /* Embed Pods Frameworks */ = { + 66B08B1481C5994108A958AF /* 📦 Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( ); - name = "Embed Pods Frameworks"; + name = "📦 Embed Pods Frameworks"; outputPaths = ( ); runOnlyForDeploymentPostprocessing = 0; diff --git a/Example/Podfile.lock b/Example/Podfile.lock index 28effad..fbe41b9 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -40,7 +40,7 @@ PODS: - NSString-Helper (1.0.3) - nv-ios-http-status (0.0.1) - PEAR-FileManager-iOS (1.3.1) - - PNObject (0.3.14): + - PNObject (0.3.17): - AFNetworking - CodFis-Helper - FBSDKCoreKit @@ -96,7 +96,7 @@ SPEC CHECKSUMS: NSString-Helper: d4c5459e8142ee6a96b070118009f08637030c2d nv-ios-http-status: b6c2b5fc8656cc19e0d3000dadce2080b99d0e2f PEAR-FileManager-iOS: 3bc403f68a53483f5629aa822f4649e40275c4d3 - PNObject: cf403a77375ff20dba304d04eb79892fdae3d54d + PNObject: ecc91ff0b61392abb7ab87b4d4c0c633f2f8520b PureLayout: f35f5384c9c4e4479df041dbe33ad7577b71ddfb RNCryptor: 59d6483908115af5c12b884db23392024e52a5fe Specta: ac94d110b865115fe60ff2c6d7281053c6f8e8a2 @@ -105,4 +105,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: 2e494b482bc938579e08ab48dab20d64709c3062 -COCOAPODS: 1.0.0.beta.4 +COCOAPODS: 1.0.0.beta.5 diff --git a/Example/Pods/Local Podspecs/PNObject.podspec.json b/Example/Pods/Local Podspecs/PNObject.podspec.json index 1f5d1c8..3f47a39 100644 --- a/Example/Pods/Local Podspecs/PNObject.podspec.json +++ b/Example/Pods/Local Podspecs/PNObject.podspec.json @@ -1,6 +1,6 @@ { "name": "PNObject", - "version": "0.3.14", + "version": "0.3.17", "summary": "PNObject is a simple replica of the more complex ParseObject", "homepage": "https://github.com/giuseppenucifora/PNObject", "license": "MIT", @@ -9,7 +9,7 @@ }, "source": { "git": "https://github.com/giuseppenucifora/PNObject.git", - "tag": "0.3.14" + "tag": "0.3.17" }, "platforms": { "ios": "7.0" diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock index 28effad..fbe41b9 100644 --- a/Example/Pods/Manifest.lock +++ b/Example/Pods/Manifest.lock @@ -40,7 +40,7 @@ PODS: - NSString-Helper (1.0.3) - nv-ios-http-status (0.0.1) - PEAR-FileManager-iOS (1.3.1) - - PNObject (0.3.14): + - PNObject (0.3.17): - AFNetworking - CodFis-Helper - FBSDKCoreKit @@ -96,7 +96,7 @@ SPEC CHECKSUMS: NSString-Helper: d4c5459e8142ee6a96b070118009f08637030c2d nv-ios-http-status: b6c2b5fc8656cc19e0d3000dadce2080b99d0e2f PEAR-FileManager-iOS: 3bc403f68a53483f5629aa822f4649e40275c4d3 - PNObject: cf403a77375ff20dba304d04eb79892fdae3d54d + PNObject: ecc91ff0b61392abb7ab87b4d4c0c633f2f8520b PureLayout: f35f5384c9c4e4479df041dbe33ad7577b71ddfb RNCryptor: 59d6483908115af5c12b884db23392024e52a5fe Specta: ac94d110b865115fe60ff2c6d7281053c6f8e8a2 @@ -105,4 +105,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: 2e494b482bc938579e08ab48dab20d64709c3062 -COCOAPODS: 1.0.0.beta.4 +COCOAPODS: 1.0.0.beta.5 diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj index 69ebd32..e1c5b7b 100644 --- a/Example/Pods/Pods.xcodeproj/project.pbxproj +++ b/Example/Pods/Pods.xcodeproj/project.pbxproj @@ -1470,6 +1470,7 @@ 92DA6CE55E87602AECB1973D5DC41451 /* BFAppLinkReturnToRefererController.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = BFAppLinkReturnToRefererController.h; path = Bolts/iOS/BFAppLinkReturnToRefererController.h; sourceTree = ""; }; 930245814FE1C55E5ED02533926F4E51 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/System/Library/Frameworks/CoreGraphics.framework; sourceTree = DEVELOPER_DIR; }; 934D7FBF6EE3AB472313968B227A8293 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/System/Library/Frameworks/QuartzCore.framework; sourceTree = DEVELOPER_DIR; }; + 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 9489B7BBFA82D7CAFC248C6556527422 /* FBSDKAppEventsDeviceInfo.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FBSDKAppEventsDeviceInfo.h; path = FBSDKCoreKit/FBSDKCoreKit/Internal/AppEvents/FBSDKAppEventsDeviceInfo.h; sourceTree = ""; }; 94A0A5FA716ADCA9E911CFBB3F4C09D1 /* FBSDKContainerViewController.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FBSDKContainerViewController.m; path = FBSDKCoreKit/FBSDKCoreKit/Internal/FBSDKContainerViewController.m; sourceTree = ""; }; 958F2BC783D806A88D3AE0FA733E218A /* BFAppLink.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = BFAppLink.h; path = Bolts/iOS/BFAppLink.h; sourceTree = ""; }; @@ -1584,7 +1585,6 @@ B90A10B92F21AF1C9BBEB01F7B0B7904 /* _FBSDKTemporaryErrorRecoveryAttempter.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = _FBSDKTemporaryErrorRecoveryAttempter.h; path = FBSDKCoreKit/FBSDKCoreKit/Internal/ErrorRecovery/_FBSDKTemporaryErrorRecoveryAttempter.h; sourceTree = ""; }; B9FFAEDB3DC76DD9705B8FA233EB4DE1 /* Bolts.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Bolts.framework; sourceTree = BUILT_PRODUCTS_DIR; }; BA1841C46D1F51ADFAAFAA5323F5CC86 /* FBSDKLoginKit-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "FBSDKLoginKit-dummy.m"; sourceTree = ""; }; - BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; BAC519B57D0FE97E0B93F2AC9F10ACE8 /* CodFis-Helper.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "CodFis-Helper.bundle"; sourceTree = BUILT_PRODUCTS_DIR; }; BBE3F45B6CDC0F4CF1C07F83ABEF213F /* EXPMatchers+FBSnapshotTest.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "EXPMatchers+FBSnapshotTest.h"; sourceTree = ""; }; BC196A37061515DF5920D7247D0F1E44 /* EXPFloatTuple.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPFloatTuple.h; path = Expecta/EXPFloatTuple.h; sourceTree = ""; }; @@ -2689,7 +2689,7 @@ 7DB346D0F39D3F0E887471402A8071AB = { isa = PBXGroup; children = ( - BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */, + 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, E99CD5B3CF7131277C4CBA3A1162D56A /* Development Pods */, 6F26CF01FA612C461D9F7895FA0BCFC3 /* Frameworks */, D0F9A35B3FD9A41F8FCAB831B99FD7D0 /* Pods */, diff --git a/Example/Pods/Target Support Files/PNObject/Info.plist b/Example/Pods/Target Support Files/PNObject/Info.plist index 965ba81..1a05fa2 100644 --- a/Example/Pods/Target Support Files/PNObject/Info.plist +++ b/Example/Pods/Target Support Files/PNObject/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 0.3.14 + 0.3.17 CFBundleSignature ???? CFBundleVersion diff --git a/Example/Pods/Target Support Files/PNObject/ResourceBundle-PNObject-Info.plist b/Example/Pods/Target Support Files/PNObject/ResourceBundle-PNObject-Info.plist index f183ce7..0012c7b 100644 --- a/Example/Pods/Target Support Files/PNObject/ResourceBundle-PNObject-Info.plist +++ b/Example/Pods/Target Support Files/PNObject/ResourceBundle-PNObject-Info.plist @@ -13,7 +13,7 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 0.3.14 + 0.3.17 CFBundleSignature ???? CFBundleVersion diff --git a/Example/Pods/Target Support Files/Pods-PNObject_Example/Pods-PNObject_Example-resources.sh b/Example/Pods/Target Support Files/Pods-PNObject_Example/Pods-PNObject_Example-resources.sh index fe73d66..741d240 100755 --- a/Example/Pods/Target Support Files/Pods-PNObject_Example/Pods-PNObject_Example-resources.sh +++ b/Example/Pods/Target Support Files/Pods-PNObject_Example/Pods-PNObject_Example-resources.sh @@ -45,7 +45,7 @@ EOM case $RESOURCE_PATH in *.storyboard) echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" - ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT} ${TARGET_DEVICE_ARGS}" + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} ;; *.xib) echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT}" diff --git a/Example/Pods/Target Support Files/Pods-PNObject_Tests/Pods-PNObject_Tests-resources.sh b/Example/Pods/Target Support Files/Pods-PNObject_Tests/Pods-PNObject_Tests-resources.sh index fe73d66..741d240 100755 --- a/Example/Pods/Target Support Files/Pods-PNObject_Tests/Pods-PNObject_Tests-resources.sh +++ b/Example/Pods/Target Support Files/Pods-PNObject_Tests/Pods-PNObject_Tests-resources.sh @@ -45,7 +45,7 @@ EOM case $RESOURCE_PATH in *.storyboard) echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" - ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT} ${TARGET_DEVICE_ARGS}" + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} ;; *.xib) echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT}" diff --git a/PNObject.podspec b/PNObject.podspec index 4908d2a..6a791cf 100644 --- a/PNObject.podspec +++ b/PNObject.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = "PNObject" -s.version = "0.3.16" +s.version = "0.3.17" s.summary = "PNObject is a simple replica of the more complex ParseObject" # This description is used to generate tags and improve search results. diff --git a/Pod/Classes/PNClasses/PNUser.m b/Pod/Classes/PNClasses/PNUser.m index da4a94d..3a5aa5d 100644 --- a/Pod/Classes/PNClasses/PNUser.m +++ b/Pod/Classes/PNClasses/PNUser.m @@ -146,6 +146,7 @@ static bool isFirstAccess = YES; [self populateObjectFromJSON:[responseObject objectForKey:@"user"]]; [self saveLocally]; + [[NSNotificationCenter defaultCenter] postNotificationName:PNObjectLocalNotificationUserReloadFromServerSuccess object:nil]; } failure:^(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error) { NSLogDebug(@"%@",error); diff --git a/Pod/Classes/PNObjectConfig.h b/Pod/Classes/PNObjectConfig.h index 9d1029c..621f31e 100644 --- a/Pod/Classes/PNObjectConfig.h +++ b/Pod/Classes/PNObjectConfig.h @@ -20,7 +20,7 @@ extern NSString* _Nonnull const PNObjectLocalNotificationRefreshTokenClientCrede extern NSString* _Nonnull const PNObjectLocalNotificationRefreshTokenClientCredentialFail; extern NSString* _Nonnull const PNObjectLocalNotificationRefreshTokenUserSuccess; extern NSString* _Nonnull const PNObjectLocalNotificationRefreshTokenUserFail; - +extern NSString* _Nonnull const PNObjectLocalNotificationUserReloadFromServerSuccess; #pragma mark - extern NSString* _Nonnull const EnvironmentProduction; diff --git a/Pod/Classes/PNObjectConfig.m b/Pod/Classes/PNObjectConfig.m index da6c823..4f78449 100644 --- a/Pod/Classes/PNObjectConfig.m +++ b/Pod/Classes/PNObjectConfig.m @@ -21,6 +21,8 @@ NSString * const PNObjectLocalNotificationRefreshTokenClientCredentialFail = @"P NSString * const PNObjectLocalNotificationRefreshTokenUserSuccess = @"PNObjectLocalNotificationRefreshTokenUserSuccess"; NSString * const PNObjectLocalNotificationRefreshTokenUserFail = @"PNObjectLocalNotificationRefreshTokenUserFail"; +NSString * const PNObjectLocalNotificationUserReloadFromServerSuccess = @"PNObjectLocalNotificationUserReloadFromServerSuccess"; + NSInteger const minPassLenght = 4;