Unnecessary Nib method false positive
Issue #19
closed
Too many false positives, even though only Xcode 5 and Xcode 6 are used in development of the project.
Comments (8)
-
repo owner -
reporter Yes, bug description was very bad, sorry about that. Here are more details. I wrote a custom UIView subclass, which has the awakeFromNib method. There is a scene on Storyboard that has this class set and even outlets are set. But the tool reports it is not referenced. I sadly cannot share the storyboard with you, as it is a proprietary project.
-
reporter In addition to this, both files - Storyboard and the custom view subclass are in the same project.
-
repo owner - marked as major
-
repo owner - changed title to Unnecessary Nib method false positive
-
assigned issue to
-
repo owner Version 0.9.8 has been released with some improvements to Nib handling. Can you please check if this issue occurs with the latest version?
-
reporter Seems to be working correctly in 0.9.8.
-
repo owner - changed status to closed
- Log in to comment
Can you please provide some representative examples of the false positives you're seeing? Are these cases where a class implementing -awakeFromNib is actually archived in some XIB/Storyboard? If so, can you please let me know if the class and XIB/Storyboard are included in the same Xcode project target, and email me the XIB/Storyboard file?