//
// CCRandom.h
// CCFC
//
// Created by xichen on 11-12-23.
// Copyright 2011 ccteam. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface CCRandom : NSObject
{
}
+ (long)generateRandomNum;
+ (NSString *)generateRandomStringByLen:(int)len;
@end
可能有更新:
googlecode链接地址:http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCRandom.h
github地址: https://github.com/cxsjabc/iphone-common-codes-ccteam/tree/master/CCFC/files/CCRandom.h
本文介绍了一个名为CCRandom的iOS开发框架,它提供了生成随机整数和随机字符串的功能,通过自定义的头文件实现,适用于需要在iOS应用中使用随机数和字符串的场景。
5773

被折叠的 条评论
为什么被折叠?



