File tree Expand file tree Collapse file tree 1 file changed +19
-19
lines changed
Expand file tree Collapse file tree 1 file changed +19
-19
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,25 @@ OOMDetector是一个iOS内存监控组件,应用此组件可以帮助你轻松
1313## 演示
1414![ demo_gif] ( assets/oomgif.gif )
1515
16+ ## 支持CocoaPods
17+
18+ 在Podfile中添加如下文本
19+
20+ ```
21+ pod 'OOMDetector', '1.3'
22+ ```
23+
24+ 然后在命令行中运行
25+ ```
26+ pod install
27+ ```
28+ 需要注意的是OOMDetector使用了fishhook (0.2)
29+ 如果你的工程中也使用了fishhook,建议移除,并统一使用CocoaPods管理
30+
31+ ```
32+ pod 'fishhook', '0.2'
33+ ```
34+
1635## 使用方法
1736### 初始化
1837// 初始化,6s以下机型内存触顶阈值默认设置为300M,6s及以上机型内存触顶阈值默认设置为800M。
@@ -92,25 +111,6 @@ OOMDetector is a memory monitoring component for iOS which provides you with OOM
92111
93112## Usage
94113
95- ### Integration (CocoaPods)
96-
97- 在Podfile中添加如下文本
98-
99- ```
100- pod 'OOMDetector', '1.3'
101- ```
102-
103- 然后在命令行中运行
104- ```
105- pod install
106- ```
107- 需要注意的是OOMDetector使用了fishhook (0.2)
108- 如果你的工程中也使用了fishhook,建议移除,并统一使用CocoaPods管理
109-
110- ```
111- pod 'fishhook', '0.2'
112- ```
113-
114114
115115### Initialization
116116// 初始化,6s以下机型内存触顶阈值默认设置为300M,6s及以上机型内存触顶阈值默认设置为800M。
You can’t perform that action at this time.
0 commit comments