- Remove User Test Object
This commit is contained in:
parent
3005d931be
commit
c054feaec0
@ -20,7 +20,6 @@
|
||||
6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; };
|
||||
6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5B8195388D20070C39A /* InfoPlist.strings */; };
|
||||
6003F5BC195388D20070C39A /* Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5BB195388D20070C39A /* Tests.m */; };
|
||||
68E32EDD1C6D43E4002F2A53 /* User.m in Sources */ = {isa = PBXBuildFile; fileRef = 68E32EDC1C6D43E4002F2A53 /* User.m */; };
|
||||
DA43246C4FB8B8B587FC2343 /* Pods_PNObject_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5CB6B6AE8DC4C8FBEC56DD55 /* Pods_PNObject_Tests.framework */; };
|
||||
E1806AD43C05C089D52D136E /* Pods_PNObject_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D73089A9DA261B19C7C342EA /* Pods_PNObject_Example.framework */; };
|
||||
/* End PBXBuildFile section */
|
||||
@ -58,8 +57,6 @@
|
||||
6003F5B9195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
6003F5BB195388D20070C39A /* Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Tests.m; sourceTree = "<group>"; };
|
||||
606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tests-Prefix.pch"; sourceTree = "<group>"; };
|
||||
68E32EDB1C6D43E4002F2A53 /* User.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = User.h; path = "../../../../../../Purplenetwork/GIT/iOS/packman-ios/App/packman/Model/User/User.h"; sourceTree = "<group>"; };
|
||||
68E32EDC1C6D43E4002F2A53 /* User.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = User.m; path = "../../../../../../Purplenetwork/GIT/iOS/packman-ios/App/packman/Model/User/User.m"; sourceTree = "<group>"; };
|
||||
6ADA851464A35438E6A21617 /* Pods-PNObject_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PNObject_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-PNObject_Example/Pods-PNObject_Example.debug.xcconfig"; sourceTree = "<group>"; };
|
||||
75FCB4EFD17838CCA4C93E4A /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = "<group>"; };
|
||||
8C017F9292D546DE8DBC84F8 /* PNObject.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = PNObject.podspec; path = ../PNObject.podspec; sourceTree = "<group>"; };
|
||||
@ -137,8 +134,6 @@
|
||||
6003F59D195388D20070C39A /* PNObjectAppDelegate.m */,
|
||||
6003F5A5195388D20070C39A /* PNObjectViewController.h */,
|
||||
6003F5A6195388D20070C39A /* PNObjectViewController.m */,
|
||||
68E32EDB1C6D43E4002F2A53 /* User.h */,
|
||||
68E32EDC1C6D43E4002F2A53 /* User.m */,
|
||||
6003F5A8195388D20070C39A /* Images.xcassets */,
|
||||
6003F594195388D20070C39A /* Supporting Files */,
|
||||
);
|
||||
@ -433,7 +428,6 @@
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
68E32EDD1C6D43E4002F2A53 /* User.m in Sources */,
|
||||
6003F59E195388D20070C39A /* PNObjectAppDelegate.m in Sources */,
|
||||
6003F5A7195388D20070C39A /* PNObjectViewController.m in Sources */,
|
||||
6003F59A195388D20070C39A /* main.m in Sources */,
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
#import "PNObjectViewController.h"
|
||||
|
||||
#import "PNObject.h"
|
||||
#import "User.h"
|
||||
#import "PNUser.h"
|
||||
#import "PNAddress.h"
|
||||
#import "PNObject+PNObjectConnection.h"
|
||||
|
||||
@ -37,7 +37,7 @@
|
||||
[PNObjectConfig initSharedInstanceForEnvironments:@{EnvironmentDevelopment : @"http://packman.local/app_dev.php/api/v1/",
|
||||
EnvironmentStage : @"https://packman.ppreview.it/app_stage.php/api/v1/",
|
||||
EnvironmentProduction : @"http://packman.ppreview.it/app_stage.php/api/v1/"
|
||||
} userSubclass:[User class] withOauth:YES];
|
||||
} userSubclass:[PNUser class] withOauth:YES];
|
||||
[[PNObjectConfig sharedInstance] setHTTPHeaderValue:@"application/x-www-form-urlencoded" forKey:@"Content-Type"];
|
||||
[[PNObjectConfig sharedInstance] setClientID:@"1_pqjo2w5k7j4g8skco408oc048w8so0ws840gcg8k8gwsgk0g4" clientSecret:@"10w0vg2v6eggooc4wks4w4s0wkwok0wkck0w888so0o80g88w8" forEnv:EnvironmentProduction];
|
||||
#ifdef DEBUG
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
#import "PNObjectViewController.h"
|
||||
#import <PureLayout/PureLayout.h>
|
||||
#import "PNObject.h"
|
||||
#import "User.h"
|
||||
#import "PNUser.h"
|
||||
#import "PNAddress.h"
|
||||
#import "PNObject+PNObjectConnection.h"
|
||||
|
||||
@ -116,7 +116,7 @@
|
||||
*/
|
||||
//[user saveLocally];
|
||||
|
||||
NSLog(@"%@",[[User currentUser] JSONFormObject]);
|
||||
NSLog(@"%@",[[PNUser currentUser] JSONFormObject]);
|
||||
//NSLog(@"%@",[user JSONObjectMap]);
|
||||
/*[user registerWithBlockSuccess:^(PNUser * _Nullable responseObject) {
|
||||
|
||||
@ -144,7 +144,7 @@
|
||||
NSLog(@"response : %@",error);
|
||||
}];*/
|
||||
|
||||
[User socialLoginWithBlockSuccess:^(PNUser * _Nullable responseObject) {
|
||||
[PNUser socialLoginWithBlockSuccess:^(PNUser * _Nullable responseObject) {
|
||||
|
||||
} failure:^(NSError * _Nonnull error) {
|
||||
|
||||
|
||||
34721
Example/Pods/Pods.xcodeproj/project.pbxproj
generated
34721
Example/Pods/Pods.xcodeproj/project.pbxproj
generated
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user