Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
CBLModelでDelete
- (void)deleteDocument:(CBLModel *)model{
NSError *err;
BOOL ok = [model deleteDocument:&err];
// 削除実行
if (ok) {
NSLog(@"Delete Complete!");
}
else{
[self showErrorAlert:@"Couldn't delete the item"];
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.