Skip to content

Commit 2ff8ada

Browse files
committed
docs: 修正项目注释
# - type: feat(新特性), fix(修改问题), docs(文档修改), style(代码格式修改, 注意不是 css 修改), refactor(代码重构), test(测试), chore(其他修改, 比如构建流程, 依赖管理) # - scope: (可以为空) 影响的的范围 all :表示影响面大 ,如修改了网络框架 会对真个程序产生影响 loation: 表示影响小,某个小小的功能 module:表示会影响某个模块 如登录模块、首页模块 、用户管理模块等等 # - subject 提交描述 # - body 具体的修改信息 应该尽量详细 # - footer 放置写备注啥的,如果是 bug ,可以把bug id放入
1 parent 3798ea4 commit 2ff8ada

File tree

72 files changed

+27248
-611
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+27248
-611
lines changed

.DS_Store

0 Bytes
Binary file not shown.

Paintinglite/.DS_Store

0 Bytes
Binary file not shown.

Paintinglite/Paintinglite.xcodeproj/project.pbxproj

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,20 @@
66
objectVersion = 50;
77
objects = {
88

9+
/* Begin PBXAggregateTarget section */
10+
EEF01212264D3474004CA8D2 /* PaintingliteAggregate */ = {
11+
isa = PBXAggregateTarget;
12+
buildConfigurationList = EEF01215264D3474004CA8D2 /* Build configuration list for PBXAggregateTarget "PaintingliteAggregate" */;
13+
buildPhases = (
14+
EEF0121A264D34A5004CA8D2 /* ShellScript */,
15+
);
16+
dependencies = (
17+
);
18+
name = PaintingliteAggregate;
19+
productName = PaintingliteAggregate;
20+
};
21+
/* End PBXAggregateTarget section */
22+
923
/* Begin PBXBuildFile section */
1024
6800074E2488D19000FF75DE /* PaintingliteCUDOptions.m in Sources */ = {isa = PBXBuildFile; fileRef = 6800074D2488D19000FF75DE /* PaintingliteCUDOptions.m */; };
1125
680969332481007A00048369 /* PaintingliteTableOptions.m in Sources */ = {isa = PBXBuildFile; fileRef = 680969322481007A00048369 /* PaintingliteTableOptions.m */; };
@@ -579,6 +593,9 @@
579593
CreatedOnToolsVersion = 10.1;
580594
TestTargetID = 68DE9920247C9B6A0078EDD5;
581595
};
596+
EEF01212264D3474004CA8D2 = {
597+
CreatedOnToolsVersion = 12.4;
598+
};
582599
};
583600
};
584601
buildConfigurationList = 68DE991C247C9B6A0078EDD5 /* Build configuration list for PBXProject "Paintinglite" */;
@@ -597,6 +614,7 @@
597614
68DE9920247C9B6A0078EDD5 /* Paintinglite */,
598615
68DE9938247C9B6C0078EDD5 /* PaintingliteTests */,
599616
68DE9943247C9B6C0078EDD5 /* PaintingliteUITests */,
617+
EEF01212264D3474004CA8D2 /* PaintingliteAggregate */,
600618
);
601619
};
602620
/* End PBXProject section */
@@ -631,6 +649,26 @@
631649
};
632650
/* End PBXResourcesBuildPhase section */
633651

652+
/* Begin PBXShellScriptBuildPhase section */
653+
EEF0121A264D34A5004CA8D2 /* ShellScript */ = {
654+
isa = PBXShellScriptBuildPhase;
655+
buildActionMask = 2147483647;
656+
files = (
657+
);
658+
inputFileListPaths = (
659+
);
660+
inputPaths = (
661+
);
662+
outputFileListPaths = (
663+
);
664+
outputPaths = (
665+
);
666+
runOnlyForDeploymentPostprocessing = 0;
667+
shellPath = /bin/sh;
668+
shellScript = "# Type a script or drag a script file from your workspace to insert its path.\n# shell script goes here\nmkdir -p headerDoc\nfind ./Paintinglite/Paintinglite/ -name \\*.h -print | xargs headerdoc2html -o headerDoc\ngatherheaderdoc headerDoc\nexit 0\n";
669+
};
670+
/* End PBXShellScriptBuildPhase section */
671+
634672
/* Begin PBXSourcesBuildPhase section */
635673
68DE991D247C9B6A0078EDD5 /* Sources */ = {
636674
isa = PBXSourcesBuildPhase;
@@ -958,6 +996,24 @@
958996
};
959997
name = Release;
960998
};
999+
EEF01213264D3474004CA8D2 /* Debug */ = {
1000+
isa = XCBuildConfiguration;
1001+
buildSettings = {
1002+
CODE_SIGN_STYLE = Automatic;
1003+
DEVELOPMENT_TEAM = Z4ZKC7258G;
1004+
PRODUCT_NAME = "$(TARGET_NAME)";
1005+
};
1006+
name = Debug;
1007+
};
1008+
EEF01214264D3474004CA8D2 /* Release */ = {
1009+
isa = XCBuildConfiguration;
1010+
buildSettings = {
1011+
CODE_SIGN_STYLE = Automatic;
1012+
DEVELOPMENT_TEAM = Z4ZKC7258G;
1013+
PRODUCT_NAME = "$(TARGET_NAME)";
1014+
};
1015+
name = Release;
1016+
};
9611017
/* End XCBuildConfiguration section */
9621018

9631019
/* Begin XCConfigurationList section */
@@ -997,6 +1053,15 @@
9971053
defaultConfigurationIsVisible = 0;
9981054
defaultConfigurationName = Release;
9991055
};
1056+
EEF01215264D3474004CA8D2 /* Build configuration list for PBXAggregateTarget "PaintingliteAggregate" */ = {
1057+
isa = XCConfigurationList;
1058+
buildConfigurations = (
1059+
EEF01213264D3474004CA8D2 /* Debug */,
1060+
EEF01214264D3474004CA8D2 /* Release */,
1061+
);
1062+
defaultConfigurationIsVisible = 0;
1063+
defaultConfigurationName = Release;
1064+
};
10001065
/* End XCConfigurationList section */
10011066
};
10021067
rootObject = 68DE9919247C9B6A0078EDD5 /* Project object */;

Paintinglite/Paintinglite.xcodeproj/xcuserdata/niukouruanjian.xcuserdatad/xcschemes/xcschememanagement.plist

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
<key>orderHint</key>
1010
<integer>0</integer>
1111
</dict>
12+
<key>PaintingliteAggregate.xcscheme_^#shared#^_</key>
13+
<dict>
14+
<key>orderHint</key>
15+
<integer>1</integer>
16+
</dict>
1217
</dict>
1318
</dict>
1419
</plist>
0 Bytes
Binary file not shown.
-6 KB
Binary file not shown.

Paintinglite/Paintinglite/Paintinglite/Cache/PaintingliteCache.h

Lines changed: 59 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,44 +6,82 @@
66
// Copyright © 2020 Bryant Reyn. All rights reserved.
77
//
88

9-
/**
10-
* PaintingliteCache
11-
* 数据库快照一级缓存
12-
* 快照数据库表名
13-
* 快照数据库表的结构
9+
/*!
10+
@header PaintingliteCache
11+
@abstract PaintingliteCache 提供SDK框架中Sqlite3数据库快照缓存,缓存数据库表名称和数据库表结构
12+
@author CreaterOS
13+
@version 1.00 2020/7/11 Creation (此文档的版本信息)
1414
*/
1515

1616
#import <Foundation/Foundation.h>
1717
#import <UIKit/UIKit.h>
1818

1919
NS_ASSUME_NONNULL_BEGIN
2020

21+
/*!
22+
@class PaintingliteCache
23+
@abstract PaintingliteCache 提供SDK框架中Sqlite3数据库快照缓存,缓存数据库表名称和数据库表结构
24+
*/
2125
@interface PaintingliteCache : NSCache
22-
@property (nonatomic,assign)NSUInteger tableCount; //表的个数
23-
@property (nonatomic,assign)NSUInteger optCount; //操作个数
24-
@property (nonatomic,assign)NSUInteger limitedCacheCount; //支持缓存最大条数
25-
@property (nonatomic,assign)NSUInteger baseReleaseLine; //释放基准线
26-
26+
/*!
27+
@property tableCount
28+
@abstract 当前数据库中存在表个数
29+
*/
30+
@property (nonatomic,assign)NSUInteger tableCount;
31+
/*!
32+
@property optCount
33+
@abstract 当前数据库中进行操作的次数
34+
*/
35+
@property (nonatomic,assign)NSUInteger optCount;
36+
/*!
37+
@property limitedCacheCount
38+
@abstract 支持缓存操作的最大条数
39+
*/
40+
@property (nonatomic,assign)NSUInteger limitedCacheCount;
41+
/*!
42+
@property baseReleaseLine
43+
@abstract 支持缓存操作释放基准线
44+
*/
45+
@property (nonatomic,assign)NSUInteger baseReleaseLine;
2746

28-
/// 单例模式
47+
/*!
48+
@method sharePaintingliteCache
49+
@abstract 单例模式生成sharePaintingliteCache对象
50+
@discussion 生成sharePaintingliteCache在项目工程全局中只生成一个实例对象
51+
@result PaintingliteCache
52+
*/
2953
+ (instancetype)sharePaintingliteCache;
3054

31-
/// 表名称缓存
32-
/// @param tableName 表名称
55+
/*!
56+
@method addSnapTableNameCache:
57+
@abstract 表名称缓存
58+
@discussion 表名称缓存
59+
@param tableName 表名称
60+
*/
3361
- (void)addSnapTableNameCache:(NSString *__nonnull)tableName;
3462

35-
/// 表结构缓存
36-
/// @param infoArray 信息数组
37-
/// @param tableName 表名
63+
/*!
64+
@method addSnapTableNameCache: tableName:
65+
@abstract 表结构缓存
66+
@discussion 表结构缓存
67+
@param infoArray 信息数组
68+
@param tableName 表名称
69+
*/
3870
- (void)addSnapTableInfoNameCache:(NSArray *__nonnull)infoArray tableName:(NSString *__nonnull)tableName;
3971

40-
41-
/// 操作缓存
42-
/// @param optStr 操作字符串
72+
/*!
73+
@method addDatabaseOptionsCache:
74+
@abstract 操作缓存
75+
@discussion 操作缓存
76+
@param optStr 操作字符串
77+
*/
4378
- (void)addDatabaseOptionsCache:(NSString *__nonnull)optStr;
4479

45-
46-
/// 写入缓存文件
80+
/*!
81+
@method pushCacheToLogFile
82+
@abstract 写入缓存文件
83+
@discussion 写入缓存文件
84+
*/
4785
- (void)pushCacheToLogFile;
4886

4987
@end

0 commit comments

Comments
 (0)