core data 中删除一个对象

NSManagedObject *eventToDelete = [itemArray objectAtIndex:i];
[managedObjectContext deleteObject:eventToDelete];

posted @ 2012-07-13 10:53  zander  阅读(224)  评论(0编辑  收藏  举报