摘要:
#import #import //MD5- (NSString*)md5Hash { unsigned char result[CC_MD5_DIGEST_LENGTH]; CC_MD5([self bytes], [self length], result); return [NSString stringWithFormat: @"%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x", result[0], result[1], result... 阅读全文
随笔档案-2010年11月
iphone支持的所有字体
2010-11-04 17:39 by Tracy E, 3364 阅读, 收藏,
摘要:
//打印iphone支持的所有字体NSArray *familyNames = [UIFont familyNames];for(NSString *familyName in familyNames){ NSLog(@"%@", familyName); NSArray *fontNames = [UIFont fontNamesForFamilyName:familyName]; for(NSString *fontName in fontNames) { NSLog(@"\t%@", fontName); }}Arial HebrewAr... 阅读全文
浙公网安备 33010602011771号