Thru some bug(s) in Xcode 8.3.1, the connection for @IBActions/@IBOutlets get dropped. If my memory is correct, this happens to all of them in one view controller. When this happens, I can't delete and re-connect them unless I re-create the swift file and delete original. This is a real pain in the a__, especially since I didn't cause the problem.
My question is: What can I do to recover from these dropped and non-replaceable outletts/actions without creating a new/replaced swift file?
My point was :
- when you select the JVC in the mainStoryboard, does the identity inspector show JVC as customClass ?
- in some cases, when it is impossible to create the connection by dragging from the white bullet in swift code to the object in IB, it is possible to ctrl drag from the object in IB to the IBOutlet (on the var nameOfOutlet part) or inside the code of IBAction