Advertisement
Guest User

Untitled

a guest
Oct 1st, 2014
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. - (void) buildExercisePlanArray {
  2.  
  3. NSMutableArray *results = [NSMutableArray array];
  4. for (int i=0; i<_routineArray.count; i++) {
  5.  
  6. NSMutableDictionary *combinedDictionary = [_routineArray[i] mutableCopy];
  7. [combinedDictionary addEntriesFromDictionary:_exercisesArray[i]];
  8. [results addObject:combinedDictionary];
  9. }
  10. NSLog(@"The combined array is %@",results);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement