Swift / ObjC: IBOutlets shown as “unrelated” to Interface Builder

Since Xcode 6 , when you bind objects from the Storyboard / xib to a variable in your class, they often show not bound in the class.
Thus, the search for the corresponding Storyboard / xib is slower, since you need to manually go and open the corresponding file (if you know exactly where this view controller is located among all the Storyboard / xib in your code).

There seems to be no workaround.

Has anyone found the same problem? And with that, did anyone find a workaround?

Unbound IBOutlets

+6
source share
1 answer

Xcode has many disappointing errors, and this is one of them. After you navigate to the Storyboard containing these output points, Xcode will eventually find these bindings and display them accordingly.

0
source

Source: https://habr.com/ru/post/1013795/


All Articles