Closed AnthonyWhitakerJr closed 7 years ago
PlaceholderTextView crashes Xcode when set as @IBDesignable. Is this a bug in Xcode or a strange interaction of the code?
Reference: http://nshipster.com/ibinspectable-ibdesignable/
https://gist.github.com/AnthonyWhitakerJr/14b2bf7cd968ead12616b02a5ede8cbf
Font on UITextView is not set on initialization in IB, but is in application. Its absence was causing a crash in PlaceholderLabel. Added a workaround specifically for IB.
Font
UITextView
PlaceholderLabel
PlaceholderTextView crashes Xcode when set as @IBDesignable. Is this a bug in Xcode or a strange interaction of the code?
Reference: http://nshipster.com/ibinspectable-ibdesignable/
https://gist.github.com/AnthonyWhitakerJr/14b2bf7cd968ead12616b02a5ede8cbf