Generic delegate class for Cocoa and Cocoa Touch; uses Blocks to respond to delegate methods.
- Objective-C 86.8%
- C 13.2%
| WoolDelegate | Merge branch 'master' of https://github.com/woolsweater/WoolDelegate | |
| WoolDelegate.xcodeproj | Ready for publication. | |
| .gitignore | Initial commit | |
| README.md | Update README.md | |
WoolDelegate
Generic delegate class for Cocoa and Cocoa Touch; uses Blocks to respond to delegate methods.
This requires libffi: https://github.com/atgreen/libffi
It uses libffi to interface between an NSInvocation and a Block, pulling the argument values from the invocation object and calling the Block's invoke pointer.