-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathObjectNode-Private.h
39 lines (30 loc) · 1.25 KB
/
ObjectNode-Private.h
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
//
// ObjectNode-Private.h
// CommonViewControllers
//
// Created by Lessica <82flex@gmail.com> on 2022/1/20.
// Copyright © 2022 Zheng Wu. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "ObjectNode.h"
@interface ObjectNode ()
+ (ObjectNodeType)_typeForObject:(id)obj;
+ (NSString *)stringForType:(ObjectNodeType)type;
+ (ObjectNodeType)typeForString:(NSString *)str;
+ (id)defaultValueForType:(ObjectNodeType)type;
+ (id)convertString:(NSString *)str toObjectOfType:(ObjectNodeType)type;
+ (NSString *)stringKeyOfNode:(ObjectNode *)node;
+ (NSString *)stringValueOfNode:(ObjectNode *)node;
@property (nonatomic, strong) id _cachedDisplayKey;
@property (nonatomic, strong) id _cachedDisplayValue;
- (void)_sortUsingDescriptors:(NSArray <NSSortDescriptor *> *)descriptors;
#pragma mark - Outline View Related
@property (nonatomic, assign) BOOL _hasCachedNumberOfDescendants;
@property (nonatomic, assign) NSInteger _levelOfDescendants;
@property (nonatomic, assign) NSInteger _cachedNumberOfDescendants;
- (void)_invalidateNumberOfDescendants;
- (void)_invalidateNumberOfDescendantsRecursively:(BOOL)recursively;
#pragma mark - Search Related
@property (nonatomic, assign) BOOL _visible;
@property (nonatomic, copy) NSString *_visibleKey;
@end