<commit_before>![Gilt Tech logo](https://raw.githubusercontent.com/gilt/Cleanroom/master/Assets/gilt-tech-logo.png)

# CleanroomAppSettings

CleanroomAppSettings provides a set of interfaces and implementations to abstract away code dependence on a singleton `NSUserDefaults` instance.

CleanroomAppSettings is part of [the Cleanroom Project](https://github.com/gilt/Cleanroom) from [Gilt Tech](http://tech.gilt.com).


### Swift compatibility

The [`master`](https://github.com/emaloney/CleanroomAppSettings) branch of this project is **Swift 2.2 compliant** and therefore **requires Xcode 7.3 or higher** to compile.

2 other branches are also available:

 - The [`swift2.3`](https://github.com/emaloney/CleanroomAppSettings/tree/swift2.3) branch uses **Swift 2.3**, requiring Xcode 8.0
 - The [`swift3`](https://github.com/emaloney/CleanroomAppSettings/tree/swift3) branch uses **Swift 3.0**, requiring Xcode 8.0


#### Current status

Branch|Build status
--------|------------------------
`master`|[![Build status: master branch](https://travis-ci.org/emaloney/CleanroomAppSettings.svg?branch=master)](https://travis-ci.org/emaloney/CleanroomAppSettings)
`swift2.3`|[![Build status: swift2.3 branch](https://travis-ci.org/emaloney/CleanroomAppSettings.svg?branch=swift2.3)](https://travis-ci.org/emaloney/CleanroomAppSettings)
`swift3`|[![Build status: swift3 branch](https://travis-ci.org/emaloney/CleanroomAppSettings.svg?branch=swift3)](https://travis-ci.org/emaloney/CleanroomAppSettings)


### License

CleanroomAppSettings is distributed under [the MIT license](/blob/master/LICENSE).

CleanroomAppSettings is provided for your use—free-of-charge—on an as-is basis. We make no guarantees, promises or apologies. *Caveat developer.*


### Adding CleanroomAppSettings to your project

[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)

You’ll need to [integrate CleanroomAppSettings into your project](https://github.com/emaloney/CleanroomAppSettings/blob/master/INTEGRATION.md) in order to use [the API](https://rawgit.com/emaloney/CleanroomAppSettings/master/Documentation/API/index.html) it provides. You can choose:

- [Manual integration](https://github.com/emaloney/CleanroomAppSettings/blob/master/INTEGRATION.md#manual-integration), wherein you embed CleanroomAppSettings’s Xcode project within your own, **_or_**
- [Using the Carthage dependency manager](https://github.com/emaloney/CleanroomAppSettings/blob/master/INTEGRATION.md#carthage-integration) to build a framework that you then embed in your application.

Once integrated, just add the following `import` statement to any Swift file where you want to use CleanroomAppSettings:

```swift
import CleanroomAppSettings
```


### API documentation

For detailed information on using CleanroomAppSettings, [API documentation](https://rawgit.com/emaloney/CleanroomAppSettings/master/Documentation/API/index.html) is available.


## About

The Cleanroom Project began as an experiment to re-imagine Gilt’s iOS codebase in a legacy-free, Swift-based incarnation.

Since then, we’ve expanded the Cleanroom Project to include multi-platform support. Much of our codebase now supports tvOS in addition to iOS, and our lower-level code is usable on Mac OS X and watchOS as well.

Cleanroom Project code serves as the foundation of Gilt on TV, our tvOS app [featured by Apple during the launch of the new Apple TV](http://www.apple.com/apple-events/september-2015/). And as time goes on, we'll be replacing more and more of our existing Objective-C codebase with Cleanroom implementations.

In the meantime, we’ll be tracking the latest releases of Swift & Xcode, and [open-sourcing major portions of our codebase](https://github.com/gilt/Cleanroom#open-source-by-default) along the way.


### Contributing

CleanroomAppSettings is in active development, and we welcome your contributions.

If you’d like to contribute to this or any other Cleanroom Project repo, please read [the contribution guidelines](https://github.com/gilt/Cleanroom#contributing-to-the-cleanroom-project).


### Acknowledgements

[API documentation for CleanroomAppSettings](https://rawgit.com/emaloney/CleanroomAppSettings/master/Documentation/API/index.html) is generated using [Realm](http://realm.io)’s [jazzy](https://github.com/realm/jazzy/) project, maintained by [<NAME>](https://github.com/jpsim) and [<NAME>](https://github.com/segiddins).

<commit_msg>add links to branch names in build status matrix<commit_after>![Gilt Tech logo](https://raw.githubusercontent.com/gilt/Cleanroom/master/Assets/gilt-tech-logo.png)

# CleanroomAppSettings

CleanroomAppSettings provides a set of interfaces and implementations to abstract away code dependence on a singleton `NSUserDefaults` instance.

CleanroomAppSettings is part of [the Cleanroom Project](https://github.com/gilt/Cleanroom) from [Gilt Tech](http://tech.gilt.com).


### Swift compatibility

The [`master`](https://github.com/emaloney/CleanroomAppSettings) branch of this project is **Swift 2.2 compliant** and therefore **requires Xcode 7.3 or higher** to compile.

2 other branches are also available:

 - The [`swift2.3`](https://github.com/emaloney/CleanroomAppSettings/tree/swift2.3) branch uses **Swift 2.3**, requiring Xcode 8.0
 - The [`swift3`](https://github.com/emaloney/CleanroomAppSettings/tree/swift3) branch uses **Swift 3.0**, requiring Xcode 8.0


#### Current status

Branch|Build status
--------|------------------------
`[master](https://github.com/emaloney/CleanroomAppSettings)`|[![Build status: master branch](https://travis-ci.org/emaloney/CleanroomAppSettings.svg?branch=master)](https://travis-ci.org/emaloney/CleanroomAppSettings)
`[swift2.3](https://github.com/emaloney/CleanroomAppSettings/tree/swift2.3)`|[![Build status: swift2.3 branch](https://travis-ci.org/emaloney/CleanroomAppSettings.svg?branch=swift2.3)](https://travis-ci.org/emaloney/CleanroomAppSettings)
`[swift3](https://github.com/emaloney/CleanroomAppSettings/tree/swift3)`|[![Build status: swift3 branch](https://travis-ci.org/emaloney/CleanroomAppSettings.svg?branch=swift3)](https://travis-ci.org/emaloney/CleanroomAppSettings)


### License

CleanroomAppSettings is distributed under [the MIT license](/blob/master/LICENSE).

CleanroomAppSettings is provided for your use—free-of-charge—on an as-is basis. We make no guarantees, promises or apologies. *Caveat developer.*


### Adding CleanroomAppSettings to your project

[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)

You’ll need to [integrate CleanroomAppSettings into your project](https://github.com/emaloney/CleanroomAppSettings/blob/master/INTEGRATION.md) in order to use [the API](https://rawgit.com/emaloney/CleanroomAppSettings/master/Documentation/API/index.html) it provides. You can choose:

- [Manual integration](https://github.com/emaloney/CleanroomAppSettings/blob/master/INTEGRATION.md#manual-integration), wherein you embed CleanroomAppSettings’s Xcode project within your own, **_or_**
- [Using the Carthage dependency manager](https://github.com/emaloney/CleanroomAppSettings/blob/master/INTEGRATION.md#carthage-integration) to build a framework that you then embed in your application.

Once integrated, just add the following `import` statement to any Swift file where you want to use CleanroomAppSettings:

```swift
import CleanroomAppSettings
```


### API documentation

For detailed information on using CleanroomAppSettings, [API documentation](https://rawgit.com/emaloney/CleanroomAppSettings/master/Documentation/API/index.html) is available.


## About

The Cleanroom Project began as an experiment to re-imagine Gilt’s iOS codebase in a legacy-free, Swift-based incarnation.

Since then, we’ve expanded the Cleanroom Project to include multi-platform support. Much of our codebase now supports tvOS in addition to iOS, and our lower-level code is usable on Mac OS X and watchOS as well.

Cleanroom Project code serves as the foundation of Gilt on TV, our tvOS app [featured by Apple during the launch of the new Apple TV](http://www.apple.com/apple-events/september-2015/). And as time goes on, we'll be replacing more and more of our existing Objective-C codebase with Cleanroom implementations.

In the meantime, we’ll be tracking the latest releases of Swift & Xcode, and [open-sourcing major portions of our codebase](https://github.com/gilt/Cleanroom#open-source-by-default) along the way.


### Contributing

CleanroomAppSettings is in active development, and we welcome your contributions.

If you’d like to contribute to this or any other Cleanroom Project repo, please read [the contribution guidelines](https://github.com/gilt/Cleanroom#contributing-to-the-cleanroom-project).


### Acknowledgements

[API documentation for CleanroomAppSettings](https://rawgit.com/emaloney/CleanroomAppSettings/master/Documentation/API/index.html) is generated using [Realm](http://realm.io)’s [jazzy](https://github.com/realm/jazzy/) project, maintained by [<NAME>](https://github.com/jpsim) and [<NAME>](https://github.com/segiddins).


{'fraction_non_alphanumeric': 0.12245564384456296, 'fraction_numerical': 0.007946010667247197, 'mean_word_length': 5.411723656664341, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 51, 'lorem ipsum': 0, 'www.': 2, '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': '1235632', 'n_tokens_mistral': 2778, 'n_tokens_neox': 2668, 'n_words': 750}