<commit_before>NullObjects
===========

NullObjects is a library for building [Null
Objects](http://en.wikipedia.org/wiki/Null_Object_pattern) in Objective-C. It's inspired by Ruby's [Naught](https://github.com/avdi/naught).

### Usage

<code>NONull</code> is a replacement for NSNull but it acts more similarity to nil. It never raises an exception when method is call.

#### Simple Null Object

```objective-C

#import <NullObjects/NullObjects.h>

id null = [NONull null];
<commit_msg>Added CocoaPods reference to Readme.<commit_after>NullObjects
===========

NullObjects is a library for building [Null
Objects](http://en.wikipedia.org/wiki/Null_Object_pattern) in Objective-C. It's inspired by Ruby's [Naught](https://github.com/avdi/naught).

### Adding NullObjects to your project

#### CocoaPods

[CocoaPods](http://cocoapods.org) is the best way to include NullObjects in your project.

Include <code>pod 'NullObjects', '~> 0.0.1'</code> to your <code>Podfile</code>.

### Usage

<code>NONull</code> is a replacement for <code>NSNull</code> but it acts more similarity to nil. It never raises an exception when method is call.

#### Simple Null Object

```objective-C

#import <NullObjects/NullObjects.h>

id null = [NONull null];

{'fraction_non_alphanumeric': 0.1420500403551251, 'fraction_numerical': 0.002421307506053269, 'mean_word_length': 4.990338164251208, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 16, 'https://': 2, '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': '3153816', 'n_tokens_mistral': 401, 'n_tokens_neox': 381, 'n_words': 126}