BBAAppGroupDataManager.h
1006 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
36
37
38
39
40
//
// BBAAppGroupDataManager.h
// BBAPods-Utility
//
// Created by 白昆仑 on 2017/11/13.
// Copyright © 2017年 Baidu. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface BBAAppGroupDataManager : NSObject
/**
* @brief 返回 appGroupID
*
* @return NSString 根据证书不同返回不同的结果
*/
+ (NSString *)appGroupID;
/// 获取BBAAppGroupDataManager单例
+ (instancetype)sharedInstance;
/// Please use sharedInstance to obtain an instance
- (instancetype)init __attribute__((unavailable("Please use sharedInstance to obtain an instance.")));
/// 根据每个节点设置对应的dictionary
/// @param dictionary 设置的内容
/// @param section 设置内容对应的节点
- (BOOL)setDictionary:(NSDictionary *_Nullable)dictionary forSection:(NSString *)section;
/// 根据section获取字典内容
/// @param section 具体的section
- (NSMutableDictionary *)dictionaryWithSection:(NSString *)section;
@end
NS_ASSUME_NONNULL_END