<commit_before># ManagedObjectModelSerializer

A framework for serializing an in-memory `NSManagedObjectModel`
into the same XML format Xcode generates when using the built-in
CoreData modelling tools.

MOMSerializer is written in Swift and requires Xcode 6.1 to compile.
It uses [ECoXiS][1] for the XML serialization and [SwiftShell][2] for
launching some CLI utilities as part of the testsuite.

## Usage

```swift
let bundleName = "MyModel"
let model: NSManagedObjectModel
let pathURL: NSURL

let error = ModelSerializer(model: model!).generateBundle(bundleName, atPath:pathURL)
```

This will generate a `MyModel.xcdatamodeld` bundle with one model version,
generated from the given in-memory `NSManagedObjectModel` at the given path.

## License

Copyright (c) 2014 Contentful GmbH. See LICENSE for further details.

[1]: https://github.com/IvIePhisto/ECoXiS 
[2]: https://github.com/kareman/SwiftShell<commit_msg>Update required Xcode version<commit_after># ManagedObjectModelSerializer

A framework for serializing an in-memory `NSManagedObjectModel`
into the same XML format Xcode generates when using the built-in
CoreData modelling tools.

MOMSerializer is written in Swift and requires Xcode 6.3 to compile.
It uses [ECoXiS][1] for the XML serialization and [SwiftShell][2] for
launching some CLI utilities as part of the testsuite.

## Usage

```swift
let bundleName = "MyModel"
let model: NSManagedObjectModel
let pathURL: NSURL

let error = ModelSerializer(model: model!).generateBundle(bundleName, atPath:pathURL)
```

This will generate a `MyModel.xcdatamodeld` bundle with one model version,
generated from the given in-memory `NSManagedObjectModel` at the given path.

## License

Copyright (c) 2014 Contentful GmbH. See LICENSE for further details.

[1]: https://github.com/IvIePhisto/ECoXiS 
[2]: https://github.com/kareman/SwiftShell
{'fraction_non_alphanumeric': 0.08090614886731391, 'fraction_numerical': 0.010787486515641856, 'mean_word_length': 5.53169014084507, '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': '3327623', 'n_tokens_mistral': 583, 'n_tokens_neox': 540, 'n_words': 210}