forked from veryweblog/ichm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCHMBookmark.h
More file actions
36 lines (28 loc) · 792 Bytes
/
Copy pathCHMBookmark.h
File metadata and controls
36 lines (28 loc) · 792 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//
// CHMBookmark.h
// ichm
//
// Created by Robin Lu on 8/11/08.
// Copyright 2008 __MyCompanyName__. All rights reserved.
//
#import <CoreData/CoreData.h>
@class CHMFile;
@class CHMTag;
@interface CHMBookmark : NSManagedObject
{
}
@property (retain) NSString * url;
@property (retain) NSString * title;
@property (retain) NSDate * createdAt;
@property (retain) CHMFile * file;
@property (retain) NSSet* tags;
- (NSString*)tagsString;
+ (CHMBookmark *)bookmarkByURL:(NSString*)url withContext:(NSManagedObjectContext*)context;
- (void)setTagsString:(NSString*)tags;
@end
@interface CHMBookmark (CoreDataGeneratedAccessors)
- (void)addTagsObject:(CHMTag *)value;
- (void)removeTagsObject:(CHMTag *)value;
- (void)addTags:(NSSet *)value;
- (void)removeTags:(NSSet *)value;
@end