Skip to content

Commit

Permalink
Fixed documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
odrobnik committed Mar 6, 2013
1 parent df124d6 commit 26f69eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Core/Source/NSObject+DTRuntime.h
Expand Up @@ -27,8 +27,8 @@
Adds a new instance method to a class. All instances of this class will have this method. Adds a new instance method to a class. All instances of this class will have this method.
The block captures `self` in the calling context. To allow access to the instance from within the block it is passed as parameter to the block. The block captures `self` in the calling context. To allow access to the instance from within the block it is passed as parameter to the block.
@param name The name of the method. @param selectorName name The name of the method.
@param The block to execute for the instance method, a pointer to the instance is passed as the only parameter. @param block The block to execute for the instance method, a pointer to the instance is passed as the only parameter.
@returns `YES` if the operation was successful @returns `YES` if the operation was successful
*/ */
+ (BOOL)addInstanceMethodWithSelectorName:(NSString *)selectorName block:(void(^)(id))block; + (BOOL)addInstanceMethodWithSelectorName:(NSString *)selectorName block:(void(^)(id))block;
Expand Down

0 comments on commit 26f69eb

Please sign in to comment.