fastred / IBAnalyzer

Find common xib and storyboard-related problems without running your app or writing unit tests.
http://holko.pl
MIT License
951 stars 26 forks source link

Run Script? #12

Closed ArtSabintsev closed 7 years ago

ArtSabintsev commented 7 years ago

Just a suggestion - anyway that this could be turned into a run script when you build or run your app? It'll throw a warning/error if it finds an issue. Alternatively, SwiftLint integration seems appropriate, since these types of issues are akin to their force_try rule, which throws an error if you implicitly unwrap any optionals.

Just my $0.02.

Thanks for your work!

fastred commented 7 years ago

Yes, this would be ideal. It's not implemented yet mostly because of two reasons:

Closing in favor of https://github.com/fastred/IBAnalyzer/issues/4.