• Stars
    star
    163
  • Rank 231,141 (Top 5 %)
  • Language
    Objective-C
  • License
    Apache License 2.0
  • Created over 12 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Mac OS and iOS library for MongoDB and BSON

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

More Repositories

1

AFNetworking-Synchronous

Synchronous requests for AFNetworking 1.x, 2.x, and 3.x
Objective-C
162
star
2

zsh-startup-timer

A zsh plugin to print the time it takes for the shell to start up
Python
21
star
3

SimpleObjectPool

Simple thread-safe object pool in Objective-C
Objective-C
13
star
4

react-boxplot

Simple SVG box plots in React
JavaScript
12
star
5

rollup-plugin-cpy

Rollup plugin to easily copy files and folders
JavaScript
7
star
6

ng-bubble-cloud

Simple bubble-cloud directive for AngularJS + D3
JavaScript
6
star
7

ObjCBSON

High-performance BSON serialization and deserialization in Objective-C
Objective-C
5
star
8

chainsmoker

Elegant, generically typed, boolean micromatch for lists of file paths
TypeScript
4
star
9

icedfrisby-nock

Concise support for mock requests in IcedFrisby
JavaScript
3
star
10

RKBSONSerialization

A RestKit BSON serialization implementation using ObjCMongoDB
Objective-C
3
star
11

github-limited

Command-line utility for troubleshooting Github rate limits
JavaScript
2
star
12

hasbin-cli

From the command line, check whether a binary exists in the PATH environment variable
JavaScript
2
star
13

link-into

Create a tree of symlinks from glob patterns
JavaScript
2
star
14

apod-slack-lambda

The Astronomy Picture of the Day via Slack, with a little help from AWS Lambda
JavaScript
1
star
15

function-profiler

Profile a function
JavaScript
1
star
16

wabac

A versioned cache backed by cloud storage
JavaScript
1
star
17

AFNetworking-Categories

Categories to tweak the interface of AFNetworking
Objective-C
1
star
18

node-aws-lambda-scheduler

Minimalist utility to automatically schedule AWS Lambda functions
JavaScript
1
star