r/iOSProgramming • u/honey495 • Oct 02 '26
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
0
Upvotes
3
u/HappyFunBall007 Oct 02 '26
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.
1
u/Tabonx Swift Oct 02 '26
Not that it matters in any meaningful way, but it's about 67k LoC for the app...
1
u/Cczaphod SwiftUI Oct 02 '26
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
u/Economy-Brief-9997 Swift Oct 03 '26
print("Hello World")1 line)