You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -25,8 +24,7 @@ This library allows one to be notified, in a fashion very similar to Foundation'
25
24
26
25
It should be noted that this library is for _educational purposes_ only. The way in which this library operates not only makes it volatile and unsuitable to production releases, but use of it would likely not pass Apple's App Store review (untested).
27
26
28
-
Installation
29
-
--------
27
+
## Installation
30
28
31
29
**MethodNotificationCenter** is available through [CocoaPods](https://cocoapods.org), [Carthage](https://github.com/Carthage/Carthage) and the [Swift Package Manager](https://swift.org/package-manager/).
First import **MethodNotificationCenter** at the top of your source file:
55
52
@@ -109,17 +106,14 @@ There are some notable limitations to the capabilities of this library:
109
106
* Method notifications aren't sent recursively. That is, you'll receive a notification for the "top-level" call of the given method, but if the method (or any of its internal method calls) calls the same method a notification will _not_ be sent for that.
110
107
* Due to optimizations made by the Swift compiler, Swift calls to methods written in Swift (but annotated with the `@objc` attribute) are usually hard-coded by the compiler and don't use the Objective-C runtime, which prevent notifications from being sent. Classes written in Objective-C and called from Swift (or vice-versa) shouldn't have this issue. See `Tests/MethodNotificationCenterTests/MethodNotificationCenterSwiftTests/MethodNotificationCenterTests.swift` for examples.
111
108
112
-
Contributing
113
-
--------
109
+
## Contributing
114
110
115
111
If you have need for a specific feature or you encounter a bug, please open an issue. If you extend the functionality of **MethodNotificationCenter** yourself or you feel like fixing a bug yourself, please submit a pull request.
116
112
117
-
Author
118
-
--------
113
+
## Author
119
114
120
115
Joe Newton, somerandomiosdev@gmail.com
121
116
122
-
License
123
-
--------
117
+
## License
124
118
125
119
**MethodNotificationCenter** is available under the MIT license. See the `LICENSE` file for more info.
0 commit comments