forked from veryweblog/ichm
-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathCHMTag.h
More file actions
30 lines (23 loc) · 715 Bytes
/
CHMTag.h
File metadata and controls
30 lines (23 loc) · 715 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
//
// CHMTag.h
// ichm
//
// Created by Robin Lu on 8/10/08.
// Copyright 2008 __MyCompanyName__. All rights reserved.
//
#import <CoreData/CoreData.h>
@class CHMBookmark;
@interface CHMTag : NSManagedObject
{
}
@property (retain) NSString * tag;
@property (retain) NSSet* bookmarks;
+ (CHMTag*)getTagByString:(NSString*)tagstr OnCreate:(BOOL)shouldCreate withContext:(NSManagedObjectContext*)context;
+ (NSArray*)allTagswithContext:(NSManagedObjectContext*)context;
@end
@interface CHMTag (CoreDataGeneratedAccessors)
- (void)addBookmarksObject:(CHMBookmark *)value;
- (void)removeBookmarksObject:(CHMBookmark *)value;
- (void)addBookmarks:(NSSet *)value;
- (void)removeBookmarks:(NSSet *)value;
@end