I'm using Xcode 10.2.1 and swift 5.1 in my new project, and it's going to be a big project in future.(cocoapods version is 1.7.3)
in all xib files (for example ConfirmTransactionDetailsView.xib that contains some UILabel and UISwitch) after changing some values like background color or text alignment, these changes does not show in Interface builder. or some times after selecting another xib files Xcode show me a blank window(UIView)
and after that I'm getting this error in Xcode(furthermore I can build and run app):
I tried these solutions but none of them works for me:
how can I solve this problem? I mean after changing back ground color or text alignment see that changes in xib file quickly(don't need to quit Xcode and delete DerivedDate).
you have to set the default value for your @IBInspectable so it won't fail