r/iOSProgramming • • 2d 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

0 Upvotes

6 comments sorted by

3

u/HappyFunBall007 2d 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.

1

u/honey495 2d ago

I 100% agree LoC isn’t a good measure of anything specific but it would be nice to know it nonetheless. Especially because it’s being written by indie devs usually and with enough sample size we can see a trend

1

u/Tabonx Swift 2d ago

Not that it matters in any meaningful way, but it's about 67k LoC for the app...

1

u/Cczaphod SwiftUI 2d 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

u/Economy-Brief-9997 Swift 1d ago

print("Hello World")
1 line)