Created
November 6, 2014 09:07
-
-
Save pbrewczynski/4f8f204f14ae82f9ea80 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSDictionary *params = @{ | |
@"added" : @[ | |
], | |
@"removed" : @[], | |
@"updated" : @{ | |
@"3" : [repetition_phrase_descriptor createDictionaryFromFields] | |
}, | |
@"my_version_id" : self.currentUser.version_id | |
}; | |
NSLog(@"params %@", params); | |
// NSLogOutput | |
2014-11-06 10:03:50.265 Twigit[49951:3282339] params { | |
added = ( | |
); | |
"my_version_id" = 93; | |
removed = ( | |
); | |
updated = { | |
3 = { /* HERE SHOULD BE THE "3" NOT 3 without quotation makrs */ | |
"easiness_factor" = "2.6"; /* this is nsnumber, why it is with quotattion makrs ? */ | |
"last_interval_in_days" = 1; | |
"next_repetition_date" = 1415351023; | |
"phrase_descriptor_id" = 2521; | |
"repetition_count" = 1; | |
"repetition_phrase_descriptor_id" = 25; | |
}; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment