no message
This commit is contained in:
parent
37cfd6fd23
commit
70c37b432e
@ -0,0 +1,30 @@
|
|||||||
|
{
|
||||||
|
"DVTSourceControlWorkspaceBlueprintPrimaryRemoteRepositoryKey" : "0D16AB9035733B66D1E42542FCF79AEB110EE3F1",
|
||||||
|
"DVTSourceControlWorkspaceBlueprintWorkingCopyRepositoryLocationsKey" : {
|
||||||
|
|
||||||
|
},
|
||||||
|
"DVTSourceControlWorkspaceBlueprintWorkingCopyStatesKey" : {
|
||||||
|
"0D16AB9035733B66D1E42542FCF79AEB110EE3F1" : 0,
|
||||||
|
"AEB0552E99BCD7202184FC09F243A3865259D36E" : 0
|
||||||
|
},
|
||||||
|
"DVTSourceControlWorkspaceBlueprintIdentifierKey" : "63EBCBA7-0EA2-45A7-A0E5-D9B371244728",
|
||||||
|
"DVTSourceControlWorkspaceBlueprintWorkingCopyPathsKey" : {
|
||||||
|
"0D16AB9035733B66D1E42542FCF79AEB110EE3F1" : "PNObject\/",
|
||||||
|
"AEB0552E99BCD7202184FC09F243A3865259D36E" : "..\/..\/..\/Purplenetwork\/GIT\/iOS\/packman-ios"
|
||||||
|
},
|
||||||
|
"DVTSourceControlWorkspaceBlueprintNameKey" : "PNObject",
|
||||||
|
"DVTSourceControlWorkspaceBlueprintVersion" : 204,
|
||||||
|
"DVTSourceControlWorkspaceBlueprintRelativePathToProjectKey" : "Example\/PNObject.xcworkspace",
|
||||||
|
"DVTSourceControlWorkspaceBlueprintRemoteRepositoriesKey" : [
|
||||||
|
{
|
||||||
|
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "git.giuseppenucifora.com:giuseppenucifora\/PNObject.git",
|
||||||
|
"DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
|
||||||
|
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "0D16AB9035733B66D1E42542FCF79AEB110EE3F1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "git.giuseppenucifora.com:purplenetwork\/packman-ios.git",
|
||||||
|
"DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
|
||||||
|
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "AEB0552E99BCD7202184FC09F243A3865259D36E"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
Pod::Spec.new do |s|
|
Pod::Spec.new do |s|
|
||||||
s.name = "PNObject"
|
s.name = "PNObject"
|
||||||
s.version = "0.4.5"
|
s.version = "0.4.6"
|
||||||
s.summary = "PNObject is a simple replica of the more complex ParseObject"
|
s.summary = "PNObject is a simple replica of the more complex ParseObject"
|
||||||
|
|
||||||
# This description is used to generate tags and improve search results.
|
# This description is used to generate tags and improve search results.
|
||||||
|
|||||||
@ -143,8 +143,8 @@ static bool isFirstAccess = YES;
|
|||||||
|
|
||||||
NSLogDebug(@"%@",[responseObject objectForKey:@"user"]);
|
NSLogDebug(@"%@",[responseObject objectForKey:@"user"]);
|
||||||
|
|
||||||
[self populateObjectFromJSON:[responseObject objectForKey:@"user"]];
|
[[[self class] currentUser] populateObjectFromJSON:[responseObject objectForKey:@"user"]];
|
||||||
[self saveLocally];
|
[[[self class] currentUser] saveLocally];
|
||||||
[[NSNotificationCenter defaultCenter] postNotificationName:PNObjectLocalNotificationUserReloadFromServerSuccess object:nil];
|
[[NSNotificationCenter defaultCenter] postNotificationName:PNObjectLocalNotificationUserReloadFromServerSuccess object:nil];
|
||||||
|
|
||||||
} failure:^(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error) {
|
} failure:^(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error) {
|
||||||
@ -163,8 +163,9 @@ static bool isFirstAccess = YES;
|
|||||||
success:^(NSURLSessionDataTask * _Nullable task, NSDictionary * _Nullable responseObject) {
|
success:^(NSURLSessionDataTask * _Nullable task, NSDictionary * _Nullable responseObject) {
|
||||||
NSLog(@"response %@",responseObject);
|
NSLog(@"response %@",responseObject);
|
||||||
if(success){
|
if(success){
|
||||||
success(self);
|
[[[self class] currentUser] saveLocally];
|
||||||
[self saveLocally];
|
success([[self class] currentUser]);
|
||||||
|
|
||||||
}
|
}
|
||||||
} failure:^(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error) {
|
} failure:^(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error) {
|
||||||
NSLogDebug(@"error : %ld",(long)[error code]);
|
NSLogDebug(@"error : %ld",(long)[error code]);
|
||||||
@ -286,7 +287,7 @@ static bool isFirstAccess = YES;
|
|||||||
[user saveLocally];
|
[user saveLocally];
|
||||||
|
|
||||||
if (success) {
|
if (success) {
|
||||||
success(user);
|
success([self currentUser]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} failure:failure];
|
} failure:failure];
|
||||||
@ -308,8 +309,8 @@ static bool isFirstAccess = YES;
|
|||||||
if (success) {
|
if (success) {
|
||||||
success(responseObject);
|
success(responseObject);
|
||||||
}
|
}
|
||||||
[[PNUser currentUser] setProfileImage:avatar];
|
[[self currentUser] setProfileImage:avatar];
|
||||||
[[PNUser currentUser] reloadFormServer];
|
[[self currentUser] reloadFormServer];
|
||||||
} failure:^(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error) {
|
} failure:^(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error) {
|
||||||
if (failure) {
|
if (failure) {
|
||||||
failure(error);
|
failure(error);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user