//
//  OCHamcrest - HCReturnTypeHandler.h
//  Copyright 2014 hamcrest.org. See LICENSE.txt
//
//  Created by: Jon Reid, http://qualitycoding.org/
//  Docs: http://hamcrest.github.com/OCHamcrest/
//  Source: https://github.com/hamcrest/OCHamcrest
//

#import <Foundation/Foundation.h>


/**
 Chain-of-responsibility for handling NSInvocation return types.
 */
@interface HCReturnTypeHandler : NSObject

@property (nonatomic, strong) HCReturnTypeHandler *successor;

- (instancetype)initWithType:(char const *)handlerType;
- (id)valueForReturnType:(char const *)type fromInvocation:(NSInvocation *)invocation;

@end

//
//  OCHamcrest - HCReturnTypeHandler.h
//  Copyright 2014 hamcrest.org. See LICENSE.txt
//
//  Created by: Jon Reid, http://qualitycoding.org/
//  Docs: http://hamcrest.github.com/OCHamcrest/
//  Source: https://github.com/hamcrest/OCHamcrest
//

#import <Foundation/Foundation.h>


@interface HCReturnTypeHandler : NSObject

@property (nonatomic, strong) HCReturnTypeHandler *successor;

- (instancetype)initWithType:(char const *)handlerType;
- (id)valueForReturnType:(char const *)type fromInvocation:(NSInvocation *)invocation;

@end

--- 
+++ 
@@ -10,6 +10,9 @@
 #import <Foundation/Foundation.h>
 
 
+/**
+ Chain-of-responsibility for handling NSInvocation return types.
+ */
 @interface HCReturnTypeHandler : NSObject
 
 @property (nonatomic, strong) HCReturnTypeHandler *successor;
Add comment to explicitly identify Chain of Responsibility
