What is SPTDataLoader?

Authentication and back-off logic is a pain, let’s do it once and forget about it! This is a library that allows you to centralise this logic and forget about the ugly parts of making HTTP requests.

Yet another networking library? Well apart from some unique benefits such as built-in rate limiting and powerful request authentication, a significant benefit for you is that any tagged version has been tested in production. We only tag a new release once it’s been used for two weeks by the Spotify app (which has millions of active users a day). As such you can be sure tagged versions are as stable as possible.

As for Spotify, we wanted a light networking library that we had full control over in order to act fast in squashing bugs, and carefully select the feature we needed and were capable of supporting. The architecture also plays very nicely into our MVVM and view aggregation service architectures at Spotify by tying the lifetime of a request to the view.

Overview

  • Pricing: Free
  • Resource Link: https://github.com/spotify/SPTDataLoader
  • Resource Maker: Spotify
  • Mobile Platform Destination: iOS Apps
  • Mobile Platform Support: Native iOS
  • Programming Languages: Objective-C
  • iOS Versions Supported: iOS 8.0+, iOS 9.0+, iOS 10.0+, iOS 11.0+, iOS 12.0+
  • CocoaPods: SPTDataLoader
  • Carthage: spotify/SPTDataLoader