Srijan Kumar
Srijan Kumar

Reputation: 233

How to check whether particular UIViewController exists or not in app/project

I am working on a bigger project and I just want to check whether a particular UIViewController exists or not inside my Project.

Is there any way to get array of all UIViewController or any way to check if a particular UIViewController Class exists or not?

Please respond asap and thanks a lot.

Upvotes: 0

Views: 139

Answers (1)

Idan
Idan

Reputation: 5450

In XCode, search in project using Command + Shift + F, and search for

UIViewController { or UIViewController{

Will give you a list of all the View Controllers

Upvotes: 1

Related Questions