Nib Designable
Installation
Simply drop NibDesignable.swift into your project and it is ready to use.
Usage
- Create a new class that subclass'
NibDesignablelike
class CustomView: NibDesignable { }
- Create a nib, place a
UIViewand change theFile's OwnertoCustomView - Design your view and add
@IBInspectableproperties.
Thanks
- Donkey.jpg - cobalt123 - Baby Burro in Oatman, Arizona licensed under CC BY-NC-SA 2.0
- klngarthur
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