Latest 0.1.2
Homepage https://github.com/bananita/MBFaker
License MIT
Platforms ios 5.0, requires ARC
Authors

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

You can use it for taking real-looking test data, screenshots and populate
your database during development.

To parse language files it uses YAML.framework

iOS Screenshot

Installation

Insert line below into your Podfile:

pod 'MBFaker'

Languages

It works with original language files in yaml with small modifications.

Default language is English. You can change it with setLanguage method

[MBFaker setLanguage:@"en"];

Language name is just name of file with it.

Usage

#import <MBFaker/MBFaker.h>

// ...

NSString* name  = [MBFakerName name];
NSString* email = [MBFakerInternet freeEmail];

Contributing

If you’d like to contribute code or formats/data for another locale, fork
the project at github, make your changes,
then send a pull request.

License

This code is free to use under the terms of the MIT license.

Latest podspec

{
    "name": "MBFaker",
    "version": "0.1.2",
    "platforms": {
        "ios": "5.0"
    },
    "license": "MIT",
    "summary": "Library that generates fake data.",
    "homepage": "https://github.com/bananita/MBFaker",
    "authors": {
        "Michau0142 Banasiak": "[email protected]"
    },
    "source": {
        "git": "https://github.com/bananita/MBFaker.git",
        "tag": "0.1.2"
    },
    "resources": "MBFaker/**/*.yml",
    "description": "This library is a port of Ruby Faker library that generates fake data.",
    "source_files": "MBFaker/**/*.{h,m,c}",
    "requires_arc": true
}

Pin It on Pinterest

Share This