NibDesignable available as CocoaPod
With the upcoming version 0.36 CocoaPods there is Swift and Framework support.
So I found some time and added a .podspec
to NibDesignable.
Installation
- Add
pod 'NibDesignable'
to yourPodfile
- Add
import NibDesignable
- Sometimes Xcode/Interface Builder does not recognize
NibDesignable
as@IBDesignable
. Workaround Declare your custom class as@IBDesignable
like:
@IBDesignable
class CustomView: NibDesignable {
}