<commit_before>BaseKit is a set of IOS class to make your life easier.

# Installation

Simply add Code and Vendor dir into your project.

# Core

Perform operation in background.

	[BKOperationHelper performBlockInBackground:^{
        // Do your operation in background
    } completion:^{
        // Update UI in main queue
    }];

Iteration.

	[BKIteratingHelper iterateTil:4 usingBlock:^(int number) {
        NSLog(@"%d", number);
    }];

### NSArray

	@property (nonatomic, readonly) BOOL isEmpty;
	
	- (id)firstObject;

	- (BOOL)boolValueAtIndex:(NSInteger)index;

	- (int)intValueAtIndex:(NSInteger)index;

	- (NSInteger)integerValueAtIndex:(NSInteger)index;<commit_msg>Update installation instruction<commit_after>BaseKit is a set of IOS class to make your life easier.

# Installation

You have two way to do that

* Copying files.
* Install using CocoaPods.

## Copying files

Add Code dir or pick library that you need inside Code/*.

## Install using CocoaPods.

    dependency 'BaseKit/Core', '~> 0.1'
    dependency 'BaseKit/View', '~> 0.1'
    dependency 'BaseKit/CellMapping', '~> 0.1'

# Core

Perform operation in background.

	[BKOperationHelper performBlockInBackground:^{
        // Do your operation in background
    } completion:^{
        // Update UI in main queue
    }];

Iteration.

	[BKIteratingHelper iterateTil:4 usingBlock:^(int number) {
        NSLog(@"%d", number);
    }];

### NSArray

	@property (nonatomic, readonly) BOOL isEmpty;
	
	- (id)firstObject;

	- (BOOL)boolValueAtIndex:(NSInteger)index;

	- (int)intValueAtIndex:(NSInteger)index;

	- (NSInteger)integerValueAtIndex:(NSInteger)index;
{'fraction_non_alphanumeric': 0.1148442272449603, 'fraction_numerical': 0.004886988393402566, 'mean_word_length': 3.803519061583578, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, 'https://': 0, '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': '2665500', 'n_tokens_mistral': 548, 'n_tokens_neox': 500, 'n_words': 143}