【文件属性】:
文件名称:RandomUser:使用 https 生成随机用户的 Objective c iOS 库
文件大小:30KB
文件格式:ZIP
更新时间:2021-07-04 19:44:47
Objective-C
随机用户
用于生成随机用户的 iOS 库,使用
安装
RandomUser 可通过。 要安装它,只需将以下行添加到您的 Podfile 中:
pod "RandomUser"
用法
OARandomUserService提供了四种不同的方法来获取随机用户。
返回任何随机用户:
[OARandomUserService requestRandomUser:]
返回具有指定性别的随机用户:
[OARandomUserService requestRandomUserWithGender:handler:]
使用预定义的种子返回用户,这允许您始终生成相同的用户:
[OARandomUserService requestRandomUserWithSeed:handler:]
返回特定数量的随机用户:
[OARandomUserService requestR
【文件预览】:
RandomUser-master
----.gitignore(615B)
----Example()
--------RandomUser()
--------RandomUser.xcodeproj()
--------Tests()
--------Podfile(253B)
----.travis.yml(505B)
----LICENSE(1KB)
----README.md(1KB)
----RandomUser.podspec(1KB)
----Pod()
--------Assets()
--------Classes()