Revision: 70175
Updated Code
at December 8, 2015 07:21 by TenDegrees
Updated Code
for(Affiliate *affiliate in profile.affiliates) { Profile *affiliateProfile = [[Profile alloc]init]; affiliateProfile.emailScope=ScopePublic; affiliateProfile.entityId=affiliate.peerId; [self readUnityObject:affiliateProfile withCompletionBlock:^(id object, bool success, NSString *errorMessage) { if (success) { NSLog(@"Got this profile name: %@",((Profile *)object).name); [self.allContacts setObject:((Profile *)object) forKey:[NSNumber numberWithInt:((Profile *)object).entityId]]; } else { NSLog(@"%@",errorMessage); } }]; }
Revision: 70174
Updated Code
at December 8, 2015 07:14 by TenDegrees
Updated Code
for(Affiliate *affiliate in profile.affiliates) { Profile *affiliateProfile = [[Profile alloc]init]; affiliateProfile.emailScope=ScopePublic; affiliateProfile.entityId=affiliate.peerId; [self readUnityObject:affiliateProfile withCompletionBlock:^(id object, bool success, NSString *errorMessage) { if (success) { NSLog(@"Got this profile name: %@",((Profile *)object).name); [self.allContacts setObject:((Profile *)object) forKey:[NSNumber numberWithInt:((Profile *)object).entityId]]; } else { NSLog(@�%@�,errorMessage); } }]; }
Revision: 70173
Updated Code
at December 8, 2015 07:13 by TenDegrees
Updated Code
for(Affiliate *affiliate in profile.affiliates) { Profile *affiliateProfile = [[Profile alloc]init]; affiliateProfile.emailScope=ScopePublic; affiliateProfile.entityId=affiliate.peerId; [self readUnityObject:affiliateProfile withCompletionBlock:^(id object, bool success, NSString *errorMessage) { if (success) { NSLog(@"Got this profile name: %@",((Profile *)object).name); [self.allContacts setObject:((Profile *)object) forKey:[NSNumber numberWithInt:((Profile *)object).entityId]]; } else { NSLog(@�%@�,errorMessage); } }]; }
Revision: 70172
Updated Code
at December 8, 2015 07:09 by TenDegrees
Updated Code
for(Affiliate *affiliate in profile.affiliates) { Profile *affiliateProfile = [[Profile alloc]init]; affiliateProfile.emailScope=ScopePublic; affiliateProfile.entityId=affiliate.peerId; [self readUnityObject:affiliateProfile withCompletionBlock:^(id object, bool success, NSString *errorMessage) { if (success) { NSLog(@"Got this profile name: %@",((Profile *)object).name); [self.allContacts setObject:((Profile *)object) forKey:[NSNumber numberWithInt:((Profile *)object).entityId]]; } else { NSLog(@“%@“,errorMessage); } }]; }
Revision: 70171
Updated Code
at December 8, 2015 07:06 by TenDegrees
Updated Code
for(Affiliate *affiliate in profile.affiliates) { Profile *affiliateProfile = [[Profile alloc]init]; affiliateProfile.emailScope=ScopePublic; affiliateProfile.entityId=affiliate.peerId; [self readUnityObject:affiliateProfile withCompletionBlock:^(id object, bool success, NSString *errorMessage) { if (success) { NSLog(@"Got this profile name: %@",((Profile *)object).name); [self.allContacts setObject:((Profile *)object) forKey:[NSNumber numberWithInt:((Profile *)object).entityId]]; } }]; }
Revision: 70170
Updated Code
at December 8, 2015 07:02 by TenDegrees
Updated Code
for(Affiliate *affiliate in profile.affiliates) { Profile *affiliateProfile = [[Profile alloc]init]; affiliateProfile.emailScope=ScopePublic; affiliateProfile.entityId=affiliate.peerId; [self readUnityObject:affiliateProfile withCompletionBlock:^(id object, bool success, NSString *errorMessage) { if (success) { #ifdef LOGGING NSLog(@"Got this profile name: %@",((Profile *)object).name); #endif [self.allContacts setObject:((Profile *)object) forKey:[NSNumber numberWithInt:((Profile *)object).entityId]]; } }]; }
Revision: 70169
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at December 8, 2015 07:01 by TenDegrees
Initial Code
for(Affiliate *affiliate in profile.affiliates) { Profile *affiliateProfile = [[Profile alloc]init]; affiliateProfile.emailScope=ScopePublic; affiliateProfile.entityId=affiliate.peerId; [self readUnityObject:affiliateProfile withCompletionBlock:^(id object, bool success, NSString *errorMessage) { if (success) { NSLog(@"Got this profile name: %@",((Profile *)object).name); [self.allContacts setObject:((Profile *)object) forKey:[NSNumber numberWithInt:((Profile *)object).entityId]]; } }]; }
Initial URL
Initial Description
Iterating over an array of affiliates and reading Profile objects off the server.
Initial Title
Reading User Profiles using an Affiliate Object
Initial Tags
Initial Language
Objective C