//
// CCNSPredicate.h
// CCFC
//
// Created by xichen on 11-12-27.
// Copyright 2011 ccteam. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSPredicate(cc)
// returns whether the str is in accordance with the format
+ (BOOL)isValidFormat:(NSString *)str withFormat:(NSString *)format;
// not ok
+ (BOOL)isChineseChar:(NSString *)str;
@end
可能有更新:
googlecode链接地址:http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCNSPredicate.h
github地址: https://github.com/cxsjabc/iphone-common-codes-ccteam/tree/master/CCFC/files/CCNSPredicate.h