Latest 0.12.0
Homepage https://github.com/paulmelnikow/ObjCMongoDB
License Apache
Platforms ios 5.0, osx 10.6
Dependencies mongo-c-driver
Authors

ObjCMongoDB is a Mac OS and iOS library for MongoDB and BSON based on
the 10gen legacy C driver.

Build Status

Latest release

The latest release is v0.12.0.

  • Supports CocoaPods
  • Based on version 0.8.1 of the legacy C driver
  • Works under OS X 10.6+ and iOS 5+
  • Works both with and without support for ARC
git checkout v0.12.0
git submodule update --init

See what’s changed in History.

Getting started

Refer to the installation instructions and sample code on the wiki:

Features

  • Simple BSON encoding and decoding, using dictionaries.

  • Built-in support for arrays, dictionaries, embedded objects, strings,
    numbers, dates, object IDs, and the miscellaneous MongoDB types.

  • More complex encoding and decoding based on NSCoder’s keyed coding
    scheme. A robust delegate interface lets you implement encoding and
    decoding entirely outside the model classes if necessary.

  • Automatically encodes and decodes Core Data entities. Using the coder’s
    delegate interface you can customize the default behavior, or simply
    implement alternate behavior it in the entity class.

  • Aims to feel Cocoa-like, not Mongo-like. For example, method names in
    MongoKeyedPredicate and MongoUpdateRequest are natural in Cocoa, though
    they don’t conform to the underlying Mongo keywords.

License

Sources copyright Paul Melnikow, 10gen, Matthew Gallagher, and other
contributors.

Unless otherwise specified in a source file, sources in this repository are
published under the terms of the Apache License version 2.0, a copy of which is
in this repository as APACHE-2.0.txt.

Acknowledgements

Latest podspec

{
    "name": "ObjCMongoDB",
    "version": "0.12.0",
    "summary": "Mac OS and iOS library for MongoDB and BSON.",
    "description": "                   Mac OS and iOS library for MongoDB and BSON.n                    - Simple BSON encoding and decoding, using dictionaries.n                    - Built-in support for arrays, dictionaries, embedded objects, strings, numbers, dates, object IDs, and the miscellaneous MongoDB types.n                    - More complex encoding and decoding based on NSCoder's keyed coding scheme. A robust delegate interface lets you implement encoding and decoding entirely outside the model classes if necessary.n                    - Automatically encodes and decodes Core Data entities. Using the coder's delegate interface you can customize the default behavior, or simply implement alternate behavior it in the entity class.n                    - Aims to feel Cocoa-like, not Mongo-like. For example, method names in MongoKeyedPredicate and MongoUpdateRequest are natural in Cocoa, though they don't conform to the underlying Mongo keywords.n",
    "homepage": "https://github.com/paulmelnikow/ObjCMongoDB",
    "license": "Apache",
    "authors": {
        "Paul Melnikow": "[email protected]"
    },
    "source": {
        "git": "https://github.com/paulmelnikow/ObjCMongoDB.git",
        "tag": "v0.12.0"
    },
    "platforms": {
        "ios": "5.0",
        "osx": "10.6"
    },
    "requires_arc": false,
    "dependencies": {
        "mongo-c-driver": [
            "~> 0.8.1"
        ]
    },
    "subspecs": [
        {
            "name": "BSON",
            "source_files": "BSON",
            "private_header_files": [
                "BSON/BSON_Helper.h",
                "BSON/BSON_PrivateInterfaces.h"
            ],
            "dependencies": {
                "ObjCMongoDB/OrderedDictionary": [
                    "~> 0.12.0"
                ]
            }
        },
        {
            "name": "Mongo",
            "source_files": "Mongo",
            "private_header_files": [
                "Mongo/Mongo_Helper.h",
                "Mongo/Mongo_PrivateInterfaces.h"
            ],
            "dependencies": {
                "ObjCMongoDB/BSON": [
                    "~> 0.12.0"
                ],
                "ObjCMongoDB/OrderedDictionary": [
                    "~> 0.12.0"
                ]
            }
        },
        {
            "name": "OrderedDictionary",
            "source_files": "OrderedDictionary",
            "license": {
                "type": "MIT",
                "file": "OrderedDictionary/OrderedDictionary.h"
            }
        }
    ]
}

Pin It on Pinterest

Share This