Skip to content

zenangst/Faker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Faker

CI Status Version License Platform

===== This library is a port of Ruby's Faker library that generates fake data.

It's useful in all the cases when you need to use some dummy data for testing, population of database during development, etc. pretty realistic. Are you still bothered with meaningless randomly character strings? Just relax and leave this job to Faker.

Usage

let faker = Faker(locale: "nb-NO")

let firstName = faker.name.firstName()  //=> "Vadym"
let lastName = faker.name.lastName()    //=> "Markov"
let city = faker.address.city()         //=> "Oslo"
let email = faker.internet.email()      //=> "impressionwave@gmail.com"

Installation

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

pod 'Faker'

Author

Vadym Markov, impressionwave@gmail.com

License

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

About

Swift fake data generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 97.8%
  • Ruby 2.2%