GitHub - Tiger6688/NibDesignable

Nib Designable

Installation

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

Usage

  1. Create a new class that subclass' NibDesignable like
class CustomView: NibDesignable {

}
  1. Create a nib, place a UIView and change the File's Owner to CustomView
  2. Design your view and add @IBInspectable properties.

Thanks

Contact

Follow me on Twitter (@mbogh) and/or visit my blog Just a Beech

License

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

Release Notes

Version 1.1

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

Version 1.0

  • Initial release