Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (16 sloc) 447 Bytes
//
// StringPrefixMatcher.h
// Kiwi
//
// Created by Luke Redpath on 17/01/2011.
// Copyright 2011 Allen Ding. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "KWHCMatcher.h"
@interface KWStringPrefixMatcher : NSObject <HCMatcher> {
NSString *prefix;
}
+ (id)matcherWithPrefix:(NSString *)aPrefix;
- (id)initWithPrefix:(NSString *)aPrefix;
@end
#define hasPrefix(prefix) [KWStringPrefixMatcher matcherWithPrefix:prefix]
Something went wrong with that request. Please try again.