// // CCUILabel.m // CCFC // // Created by xichen on 11-12-17. // Copyright 2011年 ccteam. All rights reserved. // #import "CCUILabel.h" @implementation UILabel(cc) // 创建UILabel, 文本居中显示 + (UILabel *)createLabel:(const CGRect *)rect withTitle:(NSString *)title { return [UIView createLabel:rect withTitle:title]; } @end
可能有更新:
googlecode链接地址:http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCUILabel.m
https://github.com/cxsjabc/iphone-common-codes-ccteam/tree/master/CCFC/files/CCUILabel.m