[iOS SWIFT] Error - Failed to render and update auto layout status

in #ios7 years ago (edited)

While making a chatting app based on Firebase, I suddenly got an error that I didn't expect. To make the ID and Password more simple and better, I installed 'TextFieldEffects' by pod. And when I tried to apply 'Hoshi', the error message came out.

The error message started with

"Failed to render and update auto layout status.."

and I finally found out that the error is caused by the @IBDesignable. I don't know why it causes the error. However, I found a simple solution to solve that error. Just go to the library that you installed 'TextFieldEffects' and look up a swift file that you are using (for me it is HoshiTextField.swift). And just remove @IBDesignable from the source. Then it will work just fine. Hope the error will be fixed soon.

As is

To be


I am a newbie iOS developer, and just wanted to share some good stuffs such as tips or error solutions. I am not that good at English. So I might sound weird sometimes, but please understand that. Thanks for reading :)

Developer Lievin.

Coin Marketplace

STEEM 0.25
TRX 0.20
JST 0.038
BTC 95001.94
ETH 3542.06
USDT 1.00
SBD 3.79