Skip to content

Instantly share code, notes, and snippets.

@katsuhide
Created September 1, 2013 02:01
Show Gist options
  • Save katsuhide/6401846 to your computer and use it in GitHub Desktop.
Save katsuhide/6401846 to your computer and use it in GitHub Desktop.
Evernoteのノートを更新する
// EDAMNoteの作成
NSMutableDictionary *condition = [NSMutableDictionary dictionary];
[condition setObject:@"sample note2" forKey:@"noteTitle"];
EDAMNote *note = [self createEDAMNote:condition];
// guidの設定
NSString *guid = [[[metadata notes] objectAtIndex:0] guid];
note.guid = guid;
// Update Note
[[EvernoteNoteStore noteStore] updateNote:note success:^(EDAMNote *note) {
NSLog(@"====Updating Note has been succeeded.====");
NSLog(@"%@", note);
} failure:^(NSError *error) {
NSLog(@"Updating Note has been failured.");
}];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment