Skip to content

Commit 91589ff

Browse files
committed
Update README.md
1 parent e978a10 commit 91589ff

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

README.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,28 @@
1-
# combine-extensions
1+
# combine-interception
22

3-
[![SwiftPM 5.3](https://img.shields.io/badge/swiftpm-5.3-ED523F.svg?style=flat)](https://swift.org/download/) ![Platforms](https://img.shields.io/badge/Platforms-iOS_13_|_macOS_10.15_|_tvOS_14_|_watchOS_7-ED523F.svg?style=flat) [![@maximkrouk](https://img.shields.io/badge/[email protected]?style=flat&logo=twitter)](https://twitter.com/capture_context)
3+
[![SwiftPM 5.8](https://img.shields.io/badge/swiftpm-5.8-ED523F.svg?style=flat)](https://swift.org/download/) ![Platforms](https://img.shields.io/badge/Platforms-iOS_13_|_macOS_10.15_|_tvOS_14_|_watchOS_7-ED523F.svg?style=flat) [![@maximkrouk](https://img.shields.io/badge/[email protected]?style=flat&logo=twitter)](https://twitter.com/capture_context)
44

5-
Package extending Apple' `Combine` framework for interception of objc selectors.
5+
Package extending Apple `Combine` framework for interception of objc selectors.
6+
7+
## Usage
8+
9+
### Basic
10+
11+
Observe any selectors on NSObject instances
12+
13+
```swift
14+
navigationController
15+
.publisher(for: #selector(UINavigationController.popViewController))
16+
```
17+
18+
### Library
19+
20+
If you use it to create a library it may be a good idea to export this one implicitly
21+
22+
```swift
23+
// Exports.swift
24+
@_exported import CombineInterception
25+
```
626

727
## Installation
828

@@ -34,28 +54,8 @@ Do not forget about target dependencies:
3454
)
3555
```
3656

37-
## Usage
38-
39-
### Basic
40-
41-
Observe any selectors on NSObject instances
42-
43-
```swift
44-
navigationController
45-
.publisher(for: #selector(UINavigationController.popViewController))
46-
```
47-
48-
### Library
49-
50-
If you use it to create a library it may be a good idea to export this one implicitly
51-
52-
```swift
53-
// Exports.swift
54-
@_exported import CombineInterception
55-
```
56-
5757
## License
5858

5959
This library is released under the MIT license. See [LICENSE](LICENSE) for details.
6060

61-
See [ACKNOWLEDGMENTS][ACKNOWLEDGMENTS] for inspiration references and their licences.
61+
See [ACKNOWLEDGMENTS](ACKNOWLEDGMENTS) for inspiration references and their licences.

0 commit comments

Comments
 (0)