Skip to content

nsomar/RandomUser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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, [email protected]

License

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published