I was trying to use the IBDesignable within my projects.
Could somebody help me to find out how to make work this class?
I was trying to use the IBDesignable within my projects.
Could somebody help me to find out how to make work this class?
You need to add this code
required override init(frame: CGRect) {
super.init(frame: frame)
setup()
}
and if you are using Xcode 6.3 (6D520o) replace countElements func with count