<commit_before>Nib Designable
=============

## Installation

### CocoaPods

1. Add `pod 'NibDesignable'` to your `Podfile`
2. Add `import NibDesignable`
3. Sometimes Xcode/Interface Builder does not recognize `NibDesignable` as `@IBDesignable`. **Workaround** Declare your custom class as `@IBDesignable` like:
  ``` swift
  @IBDesignable
  class CustomView: NibDesignable {
  
  }
  ```

### Manual

Simply drop `NibDesignable.swift` into your project and it is ready to use.

## Usage

1. Create a new class that subclass' `NibDesignable` like
  ``` swift
  class CustomView: NibDesignable {
  
  }
  ```
2. Create a nib, place a `UIView` and change the `File's Owner` to `CustomView`
3. Design your view and add `@IBInspectable` properties.

## Thanks

- Donkey.jpg - [cobalt123 - Baby Burro in Oatman, Arizona](https://flic.kr/p/Gk2KR) licensed under [CC BY-NC-SA 2.0](https://creativecommons.org/licenses/by-nc-sa/2.0/)
- [klngarthur](http://www.reddit.com/user/klngarthur)

## Contact

Follow me on Twitter ([@mbogh](https://twitter.com/mbogh)) and/or visit my blog [Just a Beech](http://justabeech.com)

## License

Nib Designable is released under an MIT license. See LICENSE for more information.

## Release Notes

Version 1.0.2

- CocoaPods support

Version 1.0.1

- proxyView is passe.
- `nibName()` returns class name per default.

Version 1.0.0
<commit_msg>Version 1.0.3 README update<commit_after>Nib Designable
=============

## Installation

### CocoaPods

1. Add `pod 'NibDesignable'` to your `Podfile`
2. Add `import NibDesignable`
3. Sometimes Xcode/Interface Builder does not recognize `NibDesignable` as `@IBDesignable`. **Workaround** Declare your custom class as `@IBDesignable` like:
  ``` swift
  @IBDesignable
  class CustomView: NibDesignable {
  
  }
  ```

### Manual

Simply drop `NibDesignable.swift` into your project and it is ready to use.

## Usage

1. Create a new class that subclass' `NibDesignable` like
  ``` swift
  class CustomView: NibDesignable {
  
  }
  ```
2. Create a nib, place a `UIView` and change the `File's Owner` to `CustomView`
3. Design your view and add `@IBInspectable` properties.

## Thanks

- Donkey.jpg - [cobalt123 - Baby Burro in Oatman, Arizona](https://flic.kr/p/Gk2KR) licensed under [CC BY-NC-SA 2.0](https://creativecommons.org/licenses/by-nc-sa/2.0/)
- [klngarthur](http://www.reddit.com/user/klngarthur)

## Contact

Follow me on Twitter ([@mbogh](https://twitter.com/mbogh)) and/or visit my blog [Just a Beech](http://justabeech.com)

## License

Nib Designable is released under an MIT license. See LICENSE for more information.

## Release Notes

Version 1.0.3

- Switched to Auto Layout in `setupNib()`. This fixes issues when views have size of `{0,0}` initially.

Version 1.0.2

- CocoaPods support

Version 1.0.1

- proxyView is passe.
- `nibName()` returns class name per default.

Version 1.0.0

{'fraction_non_alphanumeric': 0.13342599027102153, 'fraction_numerical': 0.018763029881862403, 'mean_word_length': 3.9467353951890036, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '389376', 'n_tokens_mistral': 1031, 'n_tokens_neox': 988, 'n_words': 315}