我有这样的对象
@interface Clubs : NSManagedObject
@property (nonatomic, retain) NSString * catname;
@property (nonatomic, retain) NSString * clubdescription;
@property (nonatomic, retain) NSString * clubid;
@property (nonatomic, retain) NSString * clubname;
@property (nonatomic, retain) NSString * distance;
@property (nonatomic, retain) NSString * logopath;
@property (nonatomic, retain) NSString * phone;
@property (nonatomic, retain) NSString * clubtype;
@end
我只想删除那些具有特定cluid的对象?
假设有 20 个俱乐部被添加到 CoreData,只有我要删除的那些俱乐部 ID 为 120 的对象。
谢谢