i know how to generate class diagram in Xcode for iPhone app.
but i am searching for alternate way to represent it, because my app is very much big and it will difficult
A Ruby script created by 'yoshimkd' that scans all swift code from the specified folders and files and automatically generates an entity diagram (similar to a class diagram) which can be viewed in a browser.
Usage: https://martinmitrevski.com/2016/10/12/swift-class-diagrams-and-more/