Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Number of classes in project/workspace

Is there any way to get the number of classes in a project or the complete workspace in Xcode?

like image 897
ATV Avatar asked Dec 05 '22 23:12

ATV


1 Answers

A simple way to get a rough idea for a project is by checking the Compile Sources section of the project's Build Phases. The compile sources will list all source files (.m, .swift) and doesn't include any headers.

Assuming roughly one class per source file, this will give you a ballpark idea of how many classes there are in your project at a glance. Note that this doesn't include any embedded projects or frameworks.

enter image description here

like image 117
devios1 Avatar answered Dec 29 '22 13:12

devios1