<commit_before># ObjectivePim

ObjectivePim is a small Dependency Injection Container for Objective-C based on the code of [Pimple](https://github.com/fabpot/Pimple) project (including this file :P).

## Installation


The supported way to get OCJiraFeedback is using [CocoaPods](http://cocoapods.org/).

Add OCJiraFeedback to your Podfile:


	platform :ios, '7.0'

	pod 'ObjectivePim'

## Usage


Creating a container is a matter of instating the ``OPContainer`` class

    #import "OPContainer.h"

    OPContainer *container = OPContainer.new;


As many other dependency injection containers, ObjectivePim is able to manage two
different kind of data: *services* and *parameters*.

### Defining Parameters

Defining a parameter is as simple as using the ObjectivePim instance as a dictionary:
<commit_msg>Adds build status badget<commit_after># ObjectivePim

[![Build Status](https://travis-ci.org/vbergae/ObjectivePim.svg?branch=master)](https://travis-ci.org/vbergae/ObjectivePim)

ObjectivePim is a small Dependency Injection Container for Objective-C based on [Pimple](https://github.com/fabpot/Pimple)'s source code (including this file :P).

## Installation


The supported way to get OCJiraFeedback is using [CocoaPods](http://cocoapods.org/).

Add OCJiraFeedback to your Podfile:


	platform :ios, '7.0'

	pod 'ObjectivePim'

## Usage


Creating a container is a matter of instating the ``OPContainer`` class

    #import "OPContainer.h"

    OPContainer *container = OPContainer.new;


As many other dependency injection containers, ObjectivePim is able to manage two
different kind of data: *services* and *parameters*.

### Defining Parameters

Defining a parameter is as simple as using the ObjectivePim instance as a dictionary:

{'fraction_non_alphanumeric': 0.08887614678899082, 'fraction_numerical': 0.0022935779816513763, 'mean_word_length': 4.816666666666666, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7159592', 'n_tokens_mistral': 557, 'n_tokens_neox': 513, 'n_words': 191}