theextremeprogrammer / Succinct

UI tests at the speed of unit tests. Proper encapsulation. Architecture agnostic. Freedom to refactor.
MIT License
42 stars 7 forks source link

Add ability to search the view controller's view hierarchy for views of a specific UIView type #40

Open theextremeprogrammer opened 5 years ago

theextremeprogrammer commented 5 years ago

API may look like this:

func findView<T>(ofType searchType: T.Type) -> UIView? where T: UIView