Skip to content

Commit

Permalink
更新 README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
顾海军 committed Oct 16, 2019
1 parent 7b61161 commit 1bfd5d1
Showing 1 changed file with 29 additions and 2 deletions.
31 changes: 29 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,35 @@ nn_lazygetter(UITableView, tableView, {

### CocoaPods

- `pod 'NNMacros'`
- `#import <NNMacros.h>`
安装最新版的 CocoaPods:

```bash
$ gem install cocoapods
```

`podfile` 中添加:

```ruby
pod 'NNMacros', '~> 2.0.0'
```

然后在终端执行:

```bash
$ pod install
```

如安装失败,提示:

```bash
[!] Unable to find a specification for `NNMacros`
```

尝试使用命令:

```bash
pod install --repo-update
```


## 使用中会遇到的问题及处理:
Expand Down

0 comments on commit 1bfd5d1

Please sign in to comment.