Closed cyril94440 closed 9 years ago
I am not sure exactly what it is that is not working for you?
One issue could be that you use willSet
and not didSet
, so when you access borderColor
and nameText
they are not yet set.
I'm closing this due to inactivity.
Hi,
thank you for your awesome view.
I did managed to make your library working once but is is not working anymore.
I set the file owner to my custom view I let the main UIView as an UIView I named the xib to the same name as the class.
The only thing I changed is that I used custom live rendering view inside my xib (Those views don't use xib file so it renders well in the xib).
Do you have any idea ?
Here is the code :
import UIKit
class HeaderFicheClientView: NibDesignable {
}