Skip to content

1.1.0

Compare
Choose a tag to compare
@steipete steipete released this 05 May 16:23
· 90 commits to master since this release
  • Renamed the files from NSObject+Aspects.m/h to just Aspects.m/h.
  • Removing now works via calling remove on the aspect token.
  • Allow hooking dealloc.
  • Fixes infinite loop if the same method is hooked for multiple classes. Hooking will only work for one class in the hierarchy.
  • Additional checks to prevent things like hooking retain/release/autorelease or forwardInvocation:
  • The original implementation of forwardInvocation is now correctly preserved.
  • Classes are properly cleaned up and restored to the original state after the last hook is deregistered.
  • Lots and lots of new test cases!