Write Your Own API Manager for iOS

Photo by NordWood Themes on Unsplash
  • default: Creates a default configuration object that uses the disk-persisted global cache, credential, and cookie storage objects.
  • ephemeral: Similar to the default configuration, except that all session-related data is stored in memory. Think of this as a “private” session.
  • background: Lets the session perform upload or download tasks in the background. Transfers continue even when the app itself is suspended or terminated by the system.

Thanks for reading 🙌🏼



iOS Developer

Love podcasts or audiobooks? Learn on the go with our new app.

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