root/trunk/cocoa/JRSwizzle/JRSwizzle.h

Revision 270, 0.6 kB (checked in by wolf, 1 year ago)

[NEW] JRSwizzle.

Line 
1 /*******************************************************************************
2         JRSwizzle.h
3                 Copyright (c) 2007 Jonathan 'Wolf' Rentzsch: <http://rentzsch.com>
4                 Some rights reserved: <http://opensource.org/licenses/mit-license.php>
5
6         ***************************************************************************/
7
8 #import <Foundation/Foundation.h>
9
10 @interface NSObject (JRSwizzle)
11 + (BOOL)jr_swizzleMethod:(SEL)origSel_ withMethod:(SEL)altSel_ error:(NSError**)error_;
12 + (BOOL)jr_swizzleClassMethod:(SEL)origSel_ withClassMethod:(SEL)altSel_ error:(NSError**)error_;
13 @end
Note: See TracBrowser for help on using the browser.