ios - Swift: accidentally added an outlet to two different files, deleted both outlets -
i accidentally created 2 outlets same ui element and, after realizing issue, went on delete both outlets code , element (a label) attached to.
now i'm still getting "the [name of outlet] outlet [view controller] uilabel invalid. outlets cannot connected repeating content."
i deleted code created outlet , element select+delete. there other way should have handled , how can fix now?
delete outlets may causing problem , control - click on object in storyboard , delete of connections using x. now, go , reconnect outlets , should work!
if need help, check this out.
Comments
Post a Comment