Using Contentful with iOS

SDKs

Our SDKs give you access to our APIs and their features.

Content Delivery API SDK

This SDK interacts with the Content Delivery API, a read-only API for retrieving content from Contentful. All content, both JSON and binary, is fetched from the server closest to a user's location using our global CDN.
View on GitHub - Swift
View on GitHub - ObjC
API reference - ObjC
API Playground - Swift

Content Management API SDK

This SDK interacts with the Content Management API, and allows you to create, edit, manage, and publish content. The API also offers tools for managing editorial teams and cooperation.
View on GitHub - ObjC
API reference

Tutorials

API demo

This guide is the perfect starting point to learn how to make calls to Contentful APIs, explains what responses look like, and suggest next steps.

Getting started with the Content Delivery API SDK and iOS

These tutorials will walk you through the first steps using the Content Delivery API with an iOS application.
View the Objective-C tutorial
View the Swift tutorial

Getting started with the Content Management API SDK and Objective-C

This tutorial will walk you through the first steps using the Contentful Management API with an Objective-C application.

Delivering content with Contentful and iOS

This webinar shows you how to use the Content Delivery and Content Management SDKs.

Offline persistence with the iOS SDK

This tutorial helps you understand how to persist data retrieved from the Contentful Content Delivery API.
View the tutorial

Using the Contentful Xcode plugin

This tutorial will help you understand how to use our XCode plugin for generating models from your content types.

Tools and integrations

Xcode plugin

This plugin automatically creates Core Data models from your Contentful content model.
View on GitHub

ContentfulPersistence (Objective-C)

This Objective-C library makes it easier to persist data retrieved from Contentful into Core Data or other data stores.
View on GitHub
View the tutorial

ContentfulPersistence (Swift)

This Swift library makes it easier to persist data retrieved from Contentful into Core Data or other data stores.
View on GitHub
View the tutorial

Concorde

This library helps you display progressive JPEGs with iOS.
View on GitHub

Example apps

You can use these example apps as inspiration for building your own apps.

iOS

Discovery app

This app lets you browse and preview your Contentful spaces.
Download on the App Store
View on GitHub

Blog

A generic blog app connected to a Contentful example space.
Download on the App Store
View on GitHub

A generic gallery app connected to a Contentful example space.
Download on the App Store
View on GitHub

Product catalogue

A generic product catalogue / e-commerce app connected to a Contentful example space.
Download on the App Store
View on GitHub

Coffee guide

An app that guides users to the nearest café.
View on GitHub

Swiftful

A demo app that shows how to use Contentful with Swift and iOS.
View on GitHub

watchOS

You can use these example apps as inspiration for building your own watchOS apps.

Brew

A watchOS app for finding bars near you. You can read more about the app in this blog post.
Download on the App Store
View on GitHub

tvOS

TVFul

This example shows you how to use the Contentful SDK with tvOS apps.
View on GitHub