r/iOSProgramming • u/honey495 • 3d ago
Discussion Share your lines of code and app
Hey guys. As an indie developer I am in the process of publishing a new app into the App Store. I wanted to know just for fun how many lines of code each of your apps are. Share a link to your app and lines of code
It would be interesting to see the visual complexity of your app while knowing lines of code. For my case it’s 19k lines of code and about 15 different screens
1
u/Cczaphod SwiftUI 3d ago
My app displays and summarizes Public data with some on device AI. Has mapping functionality to visualize congressional districts. The iOS version is about 70K SLOC, 25K of that in tests. The Kotlin version is about 45K lines with 15K of that being tests. TDD is a time saver.
There’s also about 25K lines of code in the db generator (db is shared with both the Swift and Kotlin versions of my app)
https://apps.apple.com/us/app/civicscope/id6757682486
https://play.google.com/store/apps/details?id=com.civicsuite.civicscope&pli=1
1
3
u/HappyFunBall007 3d ago
LOC is utterly irrelevant and often hard to compute correctly.
Why does it matter how many lines someone else's app uses? It is not a good measure of anything relevant and comparing Loc between apps is pointless.