用于生成随机用户的iOS库,基于https://randomuser.me/
OARandomUserService
提供了四种不同的方法来获取随机用户。
返回任何随机用户
[OARandomUserService requestRandomUser:]
返回指定性别的随机用户
[OARandomUserService requestRandomUserWithGender:handler:]
使用预定义种子返回用户,这允许您始终生成相同的用户
[OARandomUserService requestRandomUserWithSeed:handler:]
返回指定数量的随机用户
[OARandomUserService requestRandomUserWithCount:handler:]
Omar Abdelhafith, @example.[email protected]
RandomUser遵循MIT许可证。有关更多信息,请参阅LICENSE文件。