The Best WordPress Alternative for Swift

Meet the Swift WordPress alternative that gives you all the features you’re used to, with none of the headaches. Smooth, simple, and tasty content integration - that’s Butter.

Intuitive user interface

Our familiar dashboards melt into your existing workflow with no training required. Build better with ButterCMS.

Upgrade your SEO

With Butter, your marketing team keeps control over on page SEO ranking factors, and your site will load faster than ever.

A truly zero-maintenance solution

With ButterCMS, you can forget about security patches, software updates, plugin conflicts, and performance issues.

A familiar editing experience you’ll love

Butter provides a simple and smooth interface for editing, scheduling, and publishing your content. You get all of the dashboards and fields you’re used to, with none of the clutter.

If you’ve used WordPress or another CMS you’ll be able to pick up Butter instantly, with no additional training required.

See how Butter enables your marketing team to take control of their content across every channel.

Awesome SEO with no plugins required

Butter gives you control over meta tags and on-page SEO ranking factors, without getting a developer involved.

Modern SEO is all about page performance and user experience, and it’s no secret that older CMSs have trouble keeping up. 

Our Swift WordPress alternative is built on a modern API. Your content is served over a globally distributed CDN, making your site blazing fast.

Say “goodbye” to upgrades, conflicts, and security threats

Managing a collection of themes, plugins, and add-ons is tricky, time-consuming, and expensive.

Butter is a truly zero-maintenance solution. After your development team completes the initial configuration, their work is done. There are no versions, no security patches, and no forced upgrades. Never.

Eliminate your reliance on deprecated plugins and templates

Deprecated plugins and templates force you to rebuild content and entire pages that aren't on your roadmap, costing you time and money. With ButterCMS, your designers get full creative control over branding and UX, and your marketing team only rebuilds content when they want to.

Build your marketing stack using only the best of breed tools, alongside ButterCMS as your best of breed CMS.

Real support from real people

Consistent customer happiness is our #1 priority, and it shows in our customer reviews. We work with you from day 1 of your free trial to get you up and running quickly so your marketers can do their jobs efficiently, and your developers can get back to more important tasks.

When was the last time you spoke with a WordPress support team member in real-time?

Industry-Leading Support from Real People

When was the last time you spoke with a WordPress support team member in realtime?

headshot of Shane White
ButterCMS is easy to use, and their customer service is great! The few times I wasn’t able to figure something out, their support guided me through the entire process. Shane White Founder HelloRender

Built to make content marketing easy

ButterCMS is the best WordPress alternative for Swift for a simple reason: Swift developers can build solutions that marketing teams love. Our API allows your content gurus to quickly spin up high-converting blog posts, dynamic landing pages, SEO pages, product marketing pages, and more, all using simple drag-and-drop functionality.

  • SEO landing pages
  • Localized and personalized content
  • Customer case studies
  • Company news & updates
  • Events & webinar pages
  • And more...

"Support is awesome"

headshot of Mike Tingey
I love having control of my website content without having to use WordPress. The language option makes localization super easy. Their support is awesome. I made a complicated request and it was taken care of within 24 hours. Mike Tingey Founder & CTO Zennoa

Fast integration with any Swift app

Our mission was to make it easy to integrate Butter with your existing Swift app in minutes. It’s so simple! To demonstrate, here’s a mini tutorial to give you a feel for the process of adding marketing pages to your Swift app.

Of course, you can also use our Collections to do advanced content modeling. For a full integration guide, check out our Official Guide for the ButterCMS Swift API client.

See how easily you can integrate the ButterCMS Pages API with your Swift app.

ButterCMS Saves You Development Time

Most customers get our Swift CMS up and running in less than an hour. Try it yourself!

headshot of Zoran Lorkovic
Before ButterCMS, our dev team spent a lot of time in WordPress creating pages, adjusting fields, and pulling data through the APIs. What I really like about ButterCMS is that our marketing team managed to learn ButterCMS really quickly, and now they’re able to create pages and collections on their own. It saves a lot of time and allows our developers to focus on actual development. Zoran Lorkovic Vice President, Engineering Huckletree

How to integrate ButterCMS into your Swift application

Just follow the simple steps below to complete the integration and begin creating pages with Butter. Be sure to check out our full guide to creating pages using the ButterCMS Swift API.

1. First, install our swift package with either the Swift Package Manager or CocoaPods.

For Swift Package Manager:

  • Select XCode > File > Swift Packages > Add Package Dependency.
  • Provide this git repository: https://github.com/ButterCMS/buttercms-swift.git.
  • Then set your version, e.g. 1.0.7

For CocoaPods:

  • Install CocoaPods if not installed already with $ brew install cocoapods
  • Create a Podfile in the root directory of your project with $ pod init and open your generated podfile. For example: $ open -a Xcode Podfile.
  • Update your podfile so it reads like the below snippet, then run $ pod install

target 'YourAppName' do

    use_frameworks!

pod 'ButterCMSSDK', '1.0.7'

end

2. Initialize the SDK:

To get started with the Butter API, instantiate the ButterCMSClient with your ButterCMS API token.

// Initialize Butter client 




import ButterCMSSDK 




var butter = ButterCMSClient(apiKey: "YOUR_API_KEY")

3. Fetch posts or pages:


All ButterCMS Single Pages and Page Types have a configurable Page schema. In order to fetch a Page via the Swift SDK, you'll need to model the Butter Page schema as a Codable Struct and pass it to the getPages API, which will allow the SDK to deserialize the page data for you.

This is different from Blog posts, which have a fixed data model. For example, to fetch all blog posts, you can use the SDK's getPosts() function:

import ButterCMSSDK

var butter = ButterCMSClient(apiKey: "YOUR_API_KEY")

butter.getPosts(parameters: [

  .preview,

  .excludeBody,

  .page(value: 1),

  .pageSize(value: 10)

      ]) { result in

  switch result {

  case .success(let posts):

      //Do something on success

      print("Count: \(posts.meta.count)")

      posts.data.compactMap() { print("Post: \($0.title)") }

  case .failure(let error):

      //Do something on failure

      print("getPost failed with Error: \(error)")

  }

}

4. Integrate into your application.

ButterCMSDK calls to the posts or pages API return JSON responses, like the below sample, which can be easily integrated into the framework of your choice.

{

  "data": {

    "slug": "homepage",

    "name": "HomePage",

    "published":"2021-08-20T15:06:58.237911Z",

    "updated":"2021-08-20T15:06:58.237911Z",

    "page_type": null,

    "fields": {

      "seo_title": "Anvils and Dynamite | Acme Co",

      "headline": "Acme Co provides supplies to your favorite cartoon heroes.",

      "hero_image": "https://cdn.buttercms.com/c8oSTGcwQDC5I58km5WV",

      "call_to_action": "Buy Now",

      "customer_logos": [

        {

          "logo_image": "https://cdn.buttercms.com/c8oSTGcwQDC5I58km5WV"

        },

        {

          "logo_image": "https://cdn.buttercms.com/c8oSTGcwQDC5I58km5WV"

        }

      ]

    }

  }

That's it! If you browse to your homepage you'll see your homepage populated with the content you created in Butter.

Get Started for Free

About ButterCMS

What kind of database can I use?

No database required! We're a SaaS CMS or CaaS. You simply call our Content API from your app. We host and maintain all of the CMS infrastructure.

Do you host my templates?

Unlike CMSs you might be used to, we don't control or host any of your templates. The design of your app (HTML + CSS) lives in your application along side the rest of your app. Your application calls our Content API and we return your content in JSON format. You can then render this content in any way you'd like.

Can I import my content?

Yep. To import existing content from another platform, simply send us an email.

How do you compare to WordPress?

In short, we offer all the same easy-to-use editing capabilities of WordPress but are significantly easier for developers to setup and maintain. This means you spend less time working on your CMS and more time focusing on things important to your business.

Can I self host Butter?

No, we're a SaaS CMS or CaaS. You simply call our Content API from your app. We host and maintain all of the CMS infrastructure.

For more information on how we compare to a traditional CMS, check out API-based CMS vs Traditional CMS on the Butter blog. Do you still have more questions? Feel free to chat with us directly.

Chat With Us

Try Butter free for 30 days

See for yourself what makes Butter the best Swift WordPress alternative. Click the button below to sign up for your free 30-day trial.