R.swift
R.swift copied to clipboard
IBAction and IBOutlet validation
The validateViewControllers() func is really cool, but it doesn't catch instance of when a function name has been changed but it has not been re-connected in IB.
Could IBActions be read from the storyboards and then attempted to be called from R.swift? This would be awesome!
And perhaps something similar for IBOutlets that have been declared but not connected in IB?
P.S. happy to implement this improvement if/when we agree on an approach :smile:
Nice suggestion!
The big thing here is that we have to inspect Swift code, that makes it a lot harder then other things we validate right now. So I'll would have to think a bit about what the best way is to perform this check.