Skip to content

Releases: steipete/Aspects

1.3.1

05 May 16:24
Compare
Choose a tag to compare
  • Add support for OS X 10.7 or higher. (thanks to @ashfurrow)

1.3.0

05 May 16:23
Compare
Choose a tag to compare
  • Add automatic deregistration.
  • Checks if the selector exists before trying to hook.
  • Improved dealloc hooking. (no more unsafe_unretained needed)
  • Better examples.
  • Always log errors.

1.2.0

05 May 16:23
Compare
Choose a tag to compare
  • Adds error parameter.
  • Improvements in subclassing registration tracking.

1.1.0

05 May 16:23
Compare
Choose a tag to compare
  • 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!

1.0.1

05 May 16:24
Compare
Choose a tag to compare
  • Minor tweaks and documentation improvements.

1.0.0

05 May 16:24
Compare
Choose a tag to compare
  • Initial release