Aspects Versions Save

Delightful, simple library for aspect oriented programming in Objective-C and Swift.

1.3.1

10 years ago
  • Add support for OS X 10.7 or higher. (thanks to @ashfurrow)

1.0.0

10 years ago
  • Initial release

1.0.1

10 years ago
  • Minor tweaks and documentation improvements.

1.1.0

10 years ago
  • 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.2.0

10 years ago
  • Adds error parameter.
  • Improvements in subclassing registration tracking.

1.3.0

10 years ago
  • 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.