/RandomUser

Objective c iOS library for to generate random users, using https://randomuser.me/

Primary LanguageObjective-CMIT LicenseMIT

RandomUser

Build Status Version License Platform

iOS library for to generate random users, using https://randomuser.me/

Installation

RandomUser is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "RandomUser"        

Usage

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:]

Author

Omar Abdelhafith, o.arrabi@me.com

License

RandomUser is available under the MIT license. See the LICENSE file for more info.