---
title: StoryblokClient
description: StoryblokClient is a typed Swift client for Storyblok's Content Delivery API, with a macro-generated component library and automatic relation resolution.
url: https://www.storyblok.com/docs/libraries/swift/content-delivery-api-client
---

# StoryblokClient

The `StoryblokClient` is the typed client for [Content Delivery API](/docs/api/content-delivery/v2) and part of [Storyblok’s Swift package](https://github.com/storyblok/storyblok-swift).

Built on [`URLSessionExtension`](/docs/libraries/swift/universal-api-client), the higher-level library adds the following features:

-   Macro-generated component library
-   Typed stories
-   Automatic relation resolution
-   Typed rich text representation
-   Combine publishers that emit cached content before delivering fresh data from the network.

To render fetched rich text content in a SwiftUI view, use the [`RichTextView`](/docs/libraries/swift/rich-text) library. Learn more in [the developer guide](https://storyblok.github.io/storyblok-swift/documentation/storyblokclient/userguide).

For the complete documentation of `StoryblokClient`, browse the generated [API reference](https://storyblok.github.io/storyblok-swift/documentation/storyblokclient).

## Pagination

-   [Previous: Universal API Client](/docs/libraries/swift/universal-api-client)
-   [Next: Rich Text](/docs/libraries/swift/rich-text)
