Skip to content

Repository files navigation

Storyblok Logo

Storyblok Swift

Welcome to Storyblok's repository for all things Swift, including iOS, macOS, tvOS and watchOS.

Follow @Storyblok Follow @Storyblok

What is Storyblok?

Storyblok is a headless content management system (CMS) that empowers developers and content creators. It provides a visual editor for content teams while giving developers the flexibility to build with their preferred tech stack and deliver content through APIs to any platform or device.

Getting started with Storyblok on Apple platforms

Follow the guide to learn how to fetch and render content, use a custom content model, and more:

https://www.storyblok.com/docs/guides/apple-platforms

πŸ“¦ Products

This package consists of the following libraries:

Library Description
URLSessionExtension An extension to simplify calling Storyblok's APIs with URLSession
StoryblokClient A typed client for Storyblok's Content Delivery API with automatic relation resolution
StoryblokUI SwiftUI views for paged lists of stories and for rendering rich text

πŸ“± Samples

A runnable app, reading the same content from the same Storyblok space as the Kotlin samples:

Sample Description
JetNews Google's JetNews sample, rebuilt in SwiftUI to take its content from Storyblok

πŸ“š Examples

The Examples folder contains example Swift code snippets from Storyblok's docs site as executable unit tests for both the Content Delivery API and the Management API.

Tip

You can run individual tests classes and functions via the play icon in the gutter in XCode.

πŸ“„ Contributing

We welcome contributions! Please see our Contributing Guide for details on:

  • Code style and standards
  • Pull request process
  • Development workflow
  • Testing requirements

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ”— Links

Releases

Contributors

Languages