<commit_before>#GONCategories
Objective-C categories, used for years in my projects.<br/>
Some categories were not written by me, is so I've added the original source in header comment, but I may have missed some.<br/>
If so, do not hesitate to tell me, I will update headers to add the original source.<br/>

##Usage
Simply call method you want to use with appropriate parameters.

##Installation
__Cocoapods__: `pod 'GONCategories'`<br/>
__Manual__: Copy the __Classes__ folder in your project<br/>

Import wanted headers in your project. .pch is a good place ;)<br/>
You can also import __GON_Categories_All.h__ to add all categories in your project.

## Main headers

__GON_Categories_All.h__ : Import all categories<br/>
__GON_CoreData_All.h__ : Import all core data related categories<br/>
__GON_FoundationExtensions_All.h__ : Import all foundation related categories<br/>
__GON_UIKitExtensions_All.h__ : Import all UIKit related categories<br/>
__GON_StoreKitExtensions_All.h__ : Import all StoreKit related categories<br/>

##CoreData
###GON_NSManagedObjectContext+Fetching
```
/* Fetch one object using given key and value. Usefull to fetch objects on their uid key 
 * /!\ Warning, errors are ignored /!\
 */
- (id)fetchObject:(NSString *)entityName usingValue:(id)value forKey:(NSString *)key returningAsFault:(BOOL)fault;

/* Fetch one object using given predicate 
 * /!\ Warning, errors are ignored /!\
 */
- (id)fetchObject:(NSString *)entityName usingPredicate:(NSPredicate *)predicate returningAsFault:(BOOL)fault;

/* Count all objects for given entity.
 * /!\ Warning, errors are ignored /!\
 */<commit_msg>Correct the spelling of CocoaPods in README<commit_after>#GONCategories
Objective-C categories, used for years in my projects.<br/>
Some categories were not written by me, is so I've added the original source in header comment, but I may have missed some.<br/>
If so, do not hesitate to tell me, I will update headers to add the original source.<br/>

##Usage
Simply call method you want to use with appropriate parameters.

##Installation
__CocoaPods__: `pod 'GONCategories'`<br/>
__Manual__: Copy the __Classes__ folder in your project<br/>

Import wanted headers in your project. .pch is a good place ;)<br/>
You can also import __GON_Categories_All.h__ to add all categories in your project.

## Main headers

__GON_Categories_All.h__ : Import all categories<br/>
__GON_CoreData_All.h__ : Import all core data related categories<br/>
__GON_FoundationExtensions_All.h__ : Import all foundation related categories<br/>
__GON_UIKitExtensions_All.h__ : Import all UIKit related categories<br/>
__GON_StoreKitExtensions_All.h__ : Import all StoreKit related categories<br/>

##CoreData
###GON_NSManagedObjectContext+Fetching
```
/* Fetch one object using given key and value. Usefull to fetch objects on their uid key 
 * /!\ Warning, errors are ignored /!\
 */
- (id)fetchObject:(NSString *)entityName usingValue:(id)value forKey:(NSString *)key returningAsFault:(BOOL)fault;

/* Fetch one object using given predicate 
 * /!\ Warning, errors are ignored /!\
 */
- (id)fetchObject:(NSString *)entityName usingPredicate:(NSPredicate *)predicate returningAsFault:(BOOL)fault;

/* Count all objects for given entity.
 * /!\ Warning, errors are ignored /!\
 */
{'fraction_non_alphanumeric': 0.09506398537477148, 'fraction_numerical': 0.0, 'mean_word_length': 5.090909090909091, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, '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': '3239695', 'n_tokens_mistral': 988, 'n_tokens_neox': 933, 'n_words': 366}