Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 48 lines (31 sloc) 0.813 kb
e5ad3e0 Joe Cannatti Inital
authored
1 //
2 // Licensed under the terms in License.txt
3 //
4 // Copyright 2010 Allen Ding. All rights reserved.
5 //
6
7 #import "KiwiConfiguration.h"
8 #import "KWMatching.h"
9
10 @interface KWMatcher : NSObject<KWMatching> {
20bd028 About Retain - very simple intro to concept of retain release
Curtis Schofield authored
11 @protected id subject;
e5ad3e0 Joe Cannatti Inital
authored
12 }
13
14 #pragma mark -
15 #pragma mark Initializing
16
17 - (id)initWithSubject:(id)anObject;
18
19 + (id)matcherWithSubject:(id)anObject;
20
21 #pragma mark -
22 #pragma mark Properties
23
24 @property (nonatomic, readonly) id subject;
25
26 #pragma mark -
27 #pragma mark Getting Matcher Strings
28
29 + (NSArray *)matcherStrings;
30
31 #pragma mark -
32 #pragma mark Getting Matcher Compatability
33
34 + (BOOL)canMatchSubject:(id)anObject;
35
36 #pragma mark -
37 #pragma mark Matching
38
39 - (BOOL)evaluate;
40
41 #pragma mark -
42 #pragma mark Getting Failure Messages
43
44 - (NSString *)failureMessageForShould;
45 - (NSString *)failureMessageForShouldNot;
46
47 @end
Something went wrong with that request. Please try again.