Skip to content

A Swift framework for generating fake data such as names, addresses, and phone numbers

Notifications You must be signed in to change notification settings

schultzjim/SwiftyFaker

Repository files navigation

SwiftyFaker

A fake data generator written in Swift. Inspired by and Aspiring to be as amazing as the Ruby gem, Faker.

Usage

SwiftyFaker.Name.name -> "Nellie Buckridge Jr."
SwiftyFaker.Lorem.sentence -> "voluptas consequatur magnam harum."

Faker.Book

SwiftyFaker.Book.title -> "The Zookeeper and Her Tiger"
SwiftyFaker.Book.author -> "Janie Bashirian"
SwiftyFaker.Book.publisher -> "Parker Publishing"
SwiftyFaker.Book.genre -> "Reference book"

Faker.Name

SwiftyFaker.Name.name -> "Mrs. Grant Wilkinson"
SwiftyFaker.Name.firstName -> "Willy"
SwiftyFaker.Name.lastName -> "Rolfson"
SwiftyFaker.Name.prefix -> "Ms."
SwiftyFaker.Name.suffix -> "II"

Contributing

  • Create something awesome, make the code better, add some functionality, whatever (this is the hardest part).
  • Fork it
  • Create new branch to make your changes
  • Commit all your changes to your branch
  • Submit a pull request
  • There's a ton of people out there way smarter than me, please contribute

About

A Swift framework for generating fake data such as names, addresses, and phone numbers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages