Guest User

Untitled

a guest
Jul 22nd, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. //
  2. // PKRespondsToMatcher.h
  3. //
  4. // Created by Pavel Kunc on 11/02/2011.
  5. // Copyright 2011 Pavel Kunc. All rights reserved.
  6. //
  7.  
  8. #import <OCHamcrestIOS/HCBaseMatcher.h>
  9. #import <OCHamcrestIOS/HCDescription.h>
  10. #import <objc/objc-api.h>
  11.  
  12. @interface PKRespondsToMatcher : HCBaseMatcher {
  13. NSString *selectorString_;
  14. }
  15.  
  16. + (NXRRespondsToMatcher *)respondsToMatcher:(NSString *)aSelectorString;
  17. - (id)initWithString:(NSString *)aSelectorString;
  18. @end
  19.  
  20. OBJC_EXPORT id<HCMatcher> PK_respondsTo(NSString *aString);
  21.  
  22. #ifdef HC_SHORTHAND
  23. #define respondsTo PK_respondsTo
  24. #endif
Add Comment
Please, Sign In to add comment