forked from levenon/ORObjectRelation
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathORBadgeValueManager.h
More file actions
46 lines (34 loc) · 1.21 KB
/
ORBadgeValueManager.h
File metadata and controls
46 lines (34 loc) · 1.21 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
38
39
40
41
42
43
44
45
46
//
// ORBadgeValueManager.h
// pyyx
//
// Created by xulinfeng on 2017/1/11.
// Copyright © 2017年 Chunlin Ma. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <ORObjectRelation/ORObjectRelatioknUmbrella.h>
extern NSString * const ORObjectRelationRootName;
extern NSString * const ORObjectRelationNormalMessageDomainName;
@interface ORBadgeValueManager : NSObject
/**
* name: com.pyyx.object.relation.root
*/
@property (nonatomic, strong, readonly) ORCountObjectRelation *rootObjectRelation;
/**
* root.home
*/
@property (nonatomic, strong, readonly) ORCountObjectRelation *homeObjectRelation;
/**
* root.message
*
* 普通聊天消息 归属于 root.message
* domain:root.message.normal.messages ORObjectRelationNormalMessageDomainName
* name construct: root.message.normal.messages##chatID ORMajorKeyCountObjectRelation
*/
@property (nonatomic, strong, readonly) ORCountObjectRelation *messageObjectRelation;
- (ORMajorKeyCountObjectRelation *)normalMessageObjectRelationWithChatID:(NSString *)chatID;
+ (instancetype)sharedManager;
@end
@interface NSObject (BadgeValueObjectRelation)
@property (nonatomic, strong, readonly) ORCountObjectRelation *badgeValueObjectRelation;
@end