Skip to content

Commit 786427b

Browse files
authored
Update README.md
1 parent e26bbe0 commit 786427b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ InterposeKit is a modern library to swizzle elegantly in Swift. It is fully writ
1313
Instead of [adding new methods and exchanging implementations](https://nshipster.com/method-swizzling/) based on [`method_exchangeImplementations`](https://developer.apple.com/documentation/objectivec/1418769-method_exchangeimplementations), this library replaces the implementation directly using [`class_replaceMethod`](https://developer.apple.com/documentation/objectivec/1418677-class_replacemethod). This avoids some of [the usual problems with swizzling](https://pspdfkit.com/blog/2019/swizzling-in-swift/).
1414

1515
You can call the original implementation and add code before, instead or after a method call.
16-
This is similar to the [Aspects library](https://github.com/steipete/Aspects).
16+
This is similar to the [Aspects library](https://github.com/steipete/Aspects), but doesn't yet do dynamic subclassing.
1717

1818
## Usage
1919

@@ -116,11 +116,11 @@ Add `github "steipete/InterposeKit"` to your `Cartfile`.
116116
- Write proposal to allow to [convert the calling convention of existing types](https://twitter.com/steipete/status/1266799174563041282?s=21).
117117
- Use the C block struct to perfom type checking between Method type and C type (I do that in [Aspects library](https://github.com/steipete/Aspects)), it's still a runtime crash but could be at hook time, not when we call it.
118118
- Add object-based hooking with dynamic subclassing (Aspects again)
119-
- Add dyld_interpose to hook pure C functions
119+
- Add [dyld_dynamic_interpose](https://twitter.com/steipete/status/1258482647933870080) to hook pure C functions
120120
- Combine Promise-API for `Interpose.whenAvailable` for better error bubbling.
121-
- Experiment with Swift hooking? 🤡
121+
- Experiment with Swift hooking? ⚡️
122+
- Test against Swift Nightly as Chron Jpb
122123
- I'm sure there's more - Pull Requests or [comments](https://twitter.com/steipete) very welcome!
123-
- Test against Swift Nightly as Chron
124124

125125
Make this happen:
126126
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)

0 commit comments

Comments
 (0)