Latest 0.3.2
License MIT
Platforms ios 6.0, requires ARC
Frameworks Foundation


Object mapping made easy

Filling an NSObject with values is as easy as pie.

class Person {
    var name: String = ""
    var age: Int = 0

let subject =
subject.fill(["name":"Batman", "age":55])

Like that wasn’t easy enough, Mapper also adds a method to initialise objects using a dictionary.

let subject = Person.initWithDictionary(["name":"Batman", "age":55])

Mapper can also serve up a dictionary representation of any object that you throw at it.

let objectDictionary: NSDictionary = subject.dictionaryRepresentation()


  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create pull request

Latest podspec

    "name": "Mapper",
    "version": "0.3.2",
    "summary": "Object mapping made easy",
    "description": "                   * Object mapping made easyn",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": ""
    "authors": {
        "Christoffer Winterkvist": "[email protected]"
    "social_media_url": "",
    "platforms": {
        "ios": "6.0"
    "source": {
        "git": "",
        "tag": "0.3.2"
    "source_files": "Source/*.*",
    "frameworks": "Foundation",
    "requires_arc": true

Pin It on Pinterest

Share This