Libraries Used in the Top 100 iOS Apps

Ryan Olson
Oct 8, 2015 · 2 min read

I am eternally curious. A big motivation for writing the FLEX debugging tool was to explore other apps and discover how they tackle common problems. On Monday, armed with a jailbroken iPhone and an extended version of FLEX, I ran some analysis on the top 100 free apps in the US App Store.

I started by building up a database of the objective-c classes in each app. The median number of classes per app came in at 1,175. In total, the database contained over 181,000 classes. The app with the most classes had over 15 times the median. I bet you can guess which one that was ;). Each of the top 7 apps by number of classes was made by either Facebook or Google.

Next, I looked for common class names and tried to match them to open source projects and 3rd party libraries. I bucketed nearly 5,000 of the most common classes into over 100 projects.

The most used project by far was the Facebook iOS SDK which appeared in 67 of the 100 apps. Other category leaders included AFNetworking for networking (39) and Crashlytics for crash reporting (38). Several Apple sample code projects show up across many apps, with the most popular being Reachability (38). Finally, evidence of the dependency manager CocoaPods only appeared in 30 apps, indicating that many developers are still adding these projects the old fashioned way. The gist below gives the full list of projects and the number of apps each one appears in.

Exploring other apps is a great way to expand your iOS knowledge. If you’ve ever been curious about what’s in an app, I highly encourage you to dig in and find out for yourself!

iOS App Development

Stories and technical tips about building apps for iOS…

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store