Skip to content

Commit

Permalink
Merge pull request ResearchKit#116 from Erin-Mounts/master
Browse files Browse the repository at this point in the history
Bridge-iOS-SDK build 8 compatibility
  • Loading branch information
syoung-smallwisdom committed Apr 27, 2016
2 parents 7751935 + 67b0fcb commit 2c18c64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 0 additions & 2 deletions APCAppCore/APCAppCore/DataSubstrate/Model/APCUser+Bridge.m
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ - (void) updateProfileOnCompletion:(void (^)(NSError *))completionBlock
{
SBBUserProfile *profile = [SBBUserProfile new];
profile.email = self.email;
profile.username = self.email;

profile.firstName = self.name;

Expand Down Expand Up @@ -189,7 +188,6 @@ - (void) updateCustomProfile:(SBBUserProfile*)profile onCompletion:(void (^)(NSE
else
{
profile.email = self.email;
profile.username = self.email;
profile.firstName = self.name;

[SBBComponent(SBBUserManager) updateUserProfileWithProfile: profile
Expand Down
7 changes: 3 additions & 4 deletions APCAppCore/APCAppCore/Library/Scheduler/APCScheduler.m
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ - (void) fetchTasksFromServerAndThenUseThisQueue: (NSOperationQueue *) queue
back to our thread a while later.
*/
[SBBComponent (SBBActivityManager) getScheduledActivitiesForDaysAhead:4
withCompletion:^(SBBResourceList *tasksList,
withCompletion:^(NSArray *tasksList,
NSError *errorFetchingTasks)
{
/*
Expand Down Expand Up @@ -412,7 +412,7 @@ - (void) handleErrorFetchingTasksAndSchedulesFromServer: (NSError *) errorFetchi
By the time we get here, we're safely on our private thread
(a private serial queue).
*/
- (void) handleSuccessfullyFetchedTasksFromServer: (SBBResourceList *) tasks
- (void) handleSuccessfullyFetchedTasksFromServer: (NSArray *) tasks
givenThisPossibleErrorFromTheDownloadProcess: (NSError *) errorFetchingtasks
andThenUseThisQueue: (NSOperationQueue *) queue
toDoThis: (APCSchedulerCallbackForFetchAndLoadOperations) callbackBlock
Expand All @@ -432,9 +432,8 @@ - (void) handleSuccessfullyFetchedTasksFromServer: (SBBResourceList *) tasks
if (!errorFetchingtasks)
{
jsonCopyOfSageTasks = [NSMutableArray new];
NSArray *sageTasks = tasks.items;

for (SBBScheduledActivity *sageTask in sageTasks)
for (SBBScheduledActivity *sageTask in tasks)
{
NSDictionary *sageTaskData = [importEngine extractJsonDataFromIncomingSageTask:sageTask];

Expand Down

0 comments on commit 2c18c64

Please sign in to comment.