Skip to content

Commit

Permalink
update for README
Browse files Browse the repository at this point in the history
delete unuseful way to register Service
  • Loading branch information
SoXeon committed Nov 24, 2016
1 parent f607eab commit f71eab9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 21 deletions.
13 changes: 3 additions & 10 deletions README-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,17 +200,8 @@ BH_EXPORT_MODULE() // 声明该类为模块入口

### 3.4.2 注册`Service`

有三种方式
有两种方式

#### 声明式注册

```objc
@implementation HomeService

BH_EXPORT_SERVICE()

@end
```
#### `API`注册

```objc
Expand Down Expand Up @@ -309,3 +300,5 @@ pod "BeeHive", '1.0.0'
# 6. 开源许可证

BeeHive is available under the GPL license. See the LICENSE file for more info.


14 changes: 3 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,17 +205,7 @@ Case thought HomeServiceProtocol:

### 3.4.2 Register Service

There are three ways to register ViewController Service.

#### Declarative registration

```objc
@implementation HomeService

BH_EXPORT_SERVICE()

@end
```
There are two ways to register ViewController Service.

#### API registration

Expand Down Expand Up @@ -322,3 +312,5 @@ pod "BeeHive", '1.0.0'
# 6. License

BeeHive is available under the GPL license. See the LICENSE file for more info.


0 comments on commit f71eab9

Please sign in to comment.