-1

I was trying to use the IBDesignable within my projects.

Could somebody help me to find out how to make work this class?

APTextField.swift on gitHub

tylyo
  • 572
  • 5
  • 16
  • you could be able to test it easily by yourself! it was a file you can include in an empty project. – tylyo Feb 16 '15 at 21:38

1 Answers1

1

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

salabaha
  • 2,468
  • 1
  • 17
  • 18