<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ryan Olson on Medium]]></title>
        <description><![CDATA[Stories by Ryan Olson on Medium]]></description>
        <link>https://medium.com/@ryanolsonk?source=rss-50622f8cc536------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*aG4dMnMo7YGoMKitvGS3TA.jpeg</url>
            <title>Stories by Ryan Olson on Medium</title>
            <link>https://medium.com/@ryanolsonk?source=rss-50622f8cc536------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 18:01:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ryanolsonk/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Is Apple Using Swift in iOS?]]></title>
            <link>https://medium.com/ios-os-x-development/is-apple-using-swift-4a6c80f74599?source=rss-50622f8cc536------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a6c80f74599</guid>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[apple]]></category>
            <dc:creator><![CDATA[Ryan Olson]]></dc:creator>
            <pubDate>Sun, 17 Jan 2016 19:24:37 GMT</pubDate>
            <atom:updated>2016-01-18T19:16:19.516Z</atom:updated>
            <content:encoded><![CDATA[<p>Apple has been actively evangelizing the use of Swift since it was announced at WWDC in 2014. In the Platforms State of the Union, Andreas Wendker wrapped up the introduction to the new language, saying,</p><blockquote>So, we are, as you can probably imagine, really, really excited about Swift. We think it’s quickly going to become the programming language of choice for our own code as well as your apps.</blockquote><p>Swift has quickly gained popularity among many third party developers, but what about for Apple’s own code? As of iOS 9.2, Calculator.app is the only place in the system that you’ll find any Swift. I expected to find at least a few other apps or frameworks that had incrementally adopted Swift for new code, but that doesn’t appear to be the case for now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kRzgCGkpzsjgf3gbTIMHeg.png" /><figcaption>Screenshot from the WWDC 2014 Platforms State of the Union</figcaption></figure><p>Calculator.app is actually almost “pure Swift” with only 2 of its 22 classes written in Objective-C. Just like third party apps that use Swift, Calculator.app has to bundle the Swift libraries it links to. There are no Swift libraries included with the OS because the ABI is not yet stable.</p><p>Apple also has a few apps that get distributed through the App Store rather than with the OS. What about those? In the same Platforms State of the Union talk that introduced Swift, it was announced that the WWDC app was updating to become the first public app to use the language:</p><blockquote>… this afternoon, we’re updating the WWDC app, the app that you guys are using to get around here at the conference, with a version that uses Swift. So, this language is ready for you to use. It’s real.</blockquote><p>While the WWDC app does in fact use Swift, it’s not as much as you might think. Out of 281 classes, only 6 are written in Swift. The Apple Store app is also using Swift for its watch app. That’s about all the production Swift I could find from Apple on iOS.</p><p>The choice to use Swift comes with some tradeoffs, and it appears that Apple has decided it’s generally not worth it for their apps or frameworks <em>yet</em>. However, there could be a very different story building for iOS 10. Since most of iOS is only dropped once per year, we’ll just have to wait and see in June.</p><p>WWDC quotes were taken from the excellent <a href="http://asciiwwdc.com/">ASCIIwwdc.com</a></p><p>Update: Several people have noted that Dock on OS X has large portions written in Swift. To be clear, this post was focused on iOS and only investigated the frameworks and apps included in iOS 9.2. Apple’s Swift adoption in OS X could be significant, but I haven’t done the research.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4a6c80f74599" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ios-os-x-development/is-apple-using-swift-4a6c80f74599">Is Apple Using Swift in iOS?</a> was originally published in <a href="https://medium.com/ios-os-x-development">iOS App Development</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Are the Top Apps Using Swift?]]></title>
            <link>https://medium.com/@ryanolsonk/are-the-top-apps-using-swift-42e880e7727f?source=rss-50622f8cc536------2</link>
            <guid isPermaLink="false">https://medium.com/p/42e880e7727f</guid>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[app-development]]></category>
            <category><![CDATA[ios]]></category>
            <dc:creator><![CDATA[Ryan Olson]]></dc:creator>
            <pubDate>Mon, 11 Jan 2016 05:14:49 GMT</pubDate>
            <atom:updated>2016-01-11T05:14:49.706Z</atom:updated>
            <content:encoded><![CDATA[<p>Last week, <a href="https://medium.com/u/902a4d56b584">NatashaTheRobot</a> asked on twitter about which companies are using Swift.</p><h3>NatashaTheRobot on Twitter</h3><p>Which companies are using at least some Swift in Production? #swiftlang</p><p>Judging by the number of responses, you might have thought that most apps are deep into the transition to Swift. But rather than rely on anecdotes and one-off replies, I decided to pull some numbers from the App Store to get a clear picture. I once again downloaded the top 100 free apps and wrote some scripts to analyze the .ipa files. It surprised me to find that the vast majority of the apps in the top 100 are still building without any Swift.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/980/1*ZU3tcfaiIa4tV5u-PB_v9Q.png" /></figure><p>To be clear, these apps are probably not representative of what’s happening across the iOS ecosystem as a whole, but they certainly play an important part. Beyond the Swift question, there are other interesting things we can learn from looking at these apps. For example, I was surprised to see that none of the top apps have bumped their deployment target up to iOS 9, and there are still a couple supporting all the way back to iOS 5.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hryGpatMr3XlCD3W4mmWNA.png" /></figure><p>All of the apps were built with the iOS 8 SDK or higher, and a healthy majority are using an iOS 9.X SDK. Most of the apps also support both iPhone and iPad.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UdhlXriU5N6VN-5BaLNUZA.png" /></figure><p>While the top 100 was pretty light on apps containing any Swift, I also analyzed the other apps in my library and found a number of well know apps with some Swift. Here’s the list in alphabetical order: Airbnb, Apple Store, Bitmoji, CNN, Camera+, Dubsmash, Eventbrite, Fitbit, Flipagram, Flipboard, Groupon, Hotwire, Imgur, KAYAK, LinkedIn, Lyft, Medium, Meetup, Microsoft Selfie, Mint, MyFitnessPal, Pandora, Product Hunt, Timehop, Truecaller, Tumblr, Twitter, VSCO, Venmo, Vimeo, Vine, Wallapop, and The Weather Channel.</p><p>The full dataset from the top 100 apps is included in the gist below along with some additional information on each app.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/362dd938adf4c353c3ca6fb39464e1fb/href">https://medium.com/media/362dd938adf4c353c3ca6fb39464e1fb/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=42e880e7727f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Libraries Used in the Top 100 iOS Apps]]></title>
            <link>https://medium.com/ios-os-x-development/libraries-used-in-the-top-100-ios-apps-5b845ad927b7?source=rss-50622f8cc536------2</link>
            <guid isPermaLink="false">https://medium.com/p/5b845ad927b7</guid>
            <category><![CDATA[reverse-engineering]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[ios-app-development]]></category>
            <dc:creator><![CDATA[Ryan Olson]]></dc:creator>
            <pubDate>Thu, 08 Oct 2015 05:29:35 GMT</pubDate>
            <atom:updated>2015-10-08T06:13:37.444Z</atom:updated>
            <content:encoded><![CDATA[<p>I am eternally curious. A big motivation for writing the <a href="https://github.com/Flipboard/FLEX">FLEX</a> 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.</p><p>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.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/938/1*xRhRZYw-FjUC2P8vPbLTxg.png" /></figure><p>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.</p><p>The most used project by far was the <a href="https://github.com/facebook/facebook-ios-sdk">Facebook iOS SDK</a> which appeared in 67 of the 100 apps. Other category leaders included <a href="https://github.com/AFNetworking/AFNetworking">AFNetworking</a> for networking (39) and <a href="https://cocoapods.org/pods/Crashlytics">Crashlytics</a> for crash reporting (38). Several Apple sample code projects show up across many apps, with the most popular being <a href="https://developer.apple.com/library/ios/samplecode/Reachability/Introduction/Intro.html">Reachability</a> (38). Finally, evidence of the dependency manager <a href="https://cocoapods.org/">CocoaPods</a> 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.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d9d6af755a6e36ad0a0a6a79b5d32741/href">https://medium.com/media/d9d6af755a6e36ad0a0a6a79b5d32741/href</a></iframe><p>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!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5b845ad927b7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ios-os-x-development/libraries-used-in-the-top-100-ios-apps-5b845ad927b7">Libraries Used in the Top 100 iOS Apps</a> was originally published in <a href="https://medium.com/ios-os-x-development">iOS App Development</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[64-bit Day of Reckoning]]></title>
            <link>https://medium.com/@ryanolsonk/64-bit-day-of-reckoning-1b335bb35f41?source=rss-50622f8cc536------2</link>
            <guid isPermaLink="false">https://medium.com/p/1b335bb35f41</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[ios-app-development]]></category>
            <dc:creator><![CDATA[Ryan Olson]]></dc:creator>
            <pubDate>Wed, 03 Jun 2015 01:03:57 GMT</pubDate>
            <atom:updated>2015-06-03T01:03:57.392Z</atom:updated>
            <content:encoded><![CDATA[<p>Apple <a href="https://developer.apple.com/news/?id=12172014b">announced</a> late last year that all updates submitted the iOS App Store would need to include 64-bit support starting on June 1st. New apps have been required to include a 64-bit slice since February.</p><p>Now that the day has come and gone, I thought it would be interesting to look at the architectures included in the top 100 free apps in the US store. Are most apps holding out as long as possible, or have they all jumped on the 64-bit train? The full data behind this post can be found <a href="https://docs.google.com/spreadsheets/d/1Hb370HY4B5Eo70-SIKkGwGWK7yYXePHVvbT4VXZNTNc/edit?usp=sharing">here</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1xjFMduaoYGh3EDEYsThaA.png" /></figure><p>As you might expect, all of the top apps include an armv7 slice for compatibility all the way back to the iPhone 3GS. Over half are now including arm64 slices, and just 4 include the short-lived armv7s architecture.</p><p>Xcode’s default build setting for architectures has evolved through recent versions. In Xcode 5.1, they aggressively included armv7, armv7s, and arm64. Starting with Xcode 6, the default has backed off to a more reasonable combination of armv7 and arm64. This is largely reflected in the architecture breakdown of the top apps. It’s interesting to note that the only 2 apps including all 3 slices are made by Apple (Find My iPhone and iTunesU).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_9qrMGlRlftGFaBmFiSBew.png" /></figure><h3>Why Not Include all the Architectures?</h3><p>Adding an additional slice to an app’s binary can significantly increase the size of the application package. The binary is often the largest file in the package, and it compresses poorly because it is encrypted prior to distribution on the App Store. Back in December, I tweeted about the massive size of Facebook.app’s binary.</p><h3>Ryan Olson on Twitter</h3><p>More FLEX fun: Latest Facebook.app has 12,171 obj-c classes. The *binary* is 51.4 MB with just a single slice (armv7). That&#39;s a lot of code.</p><p>With the addition of arm64, the uncompressed size of Facebook’s binary is now over 115 MB! I’m guessing they wish they didn’t have to ship that slice.</p><p>Apple suggests targeting fewer architectures in <a href="https://developer.apple.com/library/ios/qa/qa1795/_index.html">Technical Q&amp;A 1795: Reducing the size of my App</a>. With the new requirement for including 64-bit support, targeting armv7 and arm64 will be the best configuration for most apps. Perhaps iOS 9 will come with smarter App Store distribution, so that users only have to download the slice needed for their device’s CPU. Add that to my WWDC wish list!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1b335bb35f41" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>