public
Description: iChm is a CHM reader for Mac OS X
Homepage: http://www.robinlu.com/blog/ichm
Clone URL: git://github.com/robin/ichm.git
ichm / CHMBookmark.h
100644 37 lines (28 sloc) 0.792 kb
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
36
37
//
// 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