Skip to content

Commit

Permalink
添加CocoaPods接入
Browse files Browse the repository at this point in the history
  • Loading branch information
adonisyuan committed Jan 18, 2018
1 parent d6f26a6 commit 4ad2061
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,20 @@ OOMDetector is a memory monitoring component for iOS which provides you with OOM
![demo_gif](assets/oomgif.gif)

## Usage

### Integration (CocoaPods)

在Podfile中添加如下文本

```
pod 'OOMDetector', '1.3'
```

然后在命令行中运行
```
pod install
```

### Initialization
// 初始化,6s以下机型内存触顶阈值默认设置为300M,6s及以上机型内存触顶阈值默认设置为800M。

Expand Down

0 comments on commit 4ad2061

Please sign in to comment.