iOS library for to generate random users, using https://randomuser.me/
RandomUser is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "RandomUser"
OARandomUserService
provides four different methods to fetch a random user.
Return any random user:
[OARandomUserService requestRandomUser:]
Return a random user with the specified gender:
[OARandomUserService requestRandomUserWithGender:handler:]
Return a user using a predefined seed, this allow you to always generate the same user:
[OARandomUserService requestRandomUserWithSeed:handler:]
Return a specific number of random users:
[OARandomUserService requestRandomUserWithCount:handler:]
Omar Abdelhafith, o.arrabi@me.com
RandomUser is available under the MIT license. See the LICENSE file for more info.