Peter Livesey

Posts by Peter Livesey

  • Rocket Data: Faster Model Management for iOS

    July 21, 2016

    In early 2015, we started rewriting the LinkedIn flagship mobile application. We wanted a caching system which would present content to the user, while data was loading from the network. Core Data is a commonly used technology for this problem, and we’ve used Core Data in a few applications at LinkedIn. Core Data is a modeling and database framework provided by...

  • Keeping Immutable Models Consistent

    April 27, 2016

    When we rewrote the LinkedIn flagship app last year, we decided to use immutable models everywhere because of the many benefits that they provide, such as thread safety and better performance. Instead of using raw JSON dictionaries for data, we parse our data into objects which the application uses for data access. The main challenges of using immutable models...

  • Effective Layout Testing Library for iOS

    Effective Layout Testing Library for iOS

    January 19, 2016

    When developing iOS applications, a lot of the code creates and lays out views. However, in many applications, this code has the least test coverage. Leaving this untested increases the reliance on manual testing and makes regressions more common. Testing layout logic is often ignored because it can be difficult. Developers usually write unit tests to verify...

  • Open Sourcing Isaac

    May 29, 2014

    We're proud to release the first version of Isaac, an open-source Objective-C library, which parses JSON into models. Using Isaac has...