Skip to content

castledio/castled-ios-sdk

Repository files navigation

Castled logo Castled logo

Customer Engagement Platform for the Modern Data Stack

Castled Swift SDK

Version iOS 13.0+ Cocoapods compatible SwiftPM compatible License Platform

⭐ Introduction

Castled iOS SDK provides integration capabilities for mobile applications running on iOS devices with the Castled Customer Engagement Platform. This SDK facilitates:

  • Receiving push notifications.
  • Displaying in-app messages and app inbox notifications.
  • Updating user profiles.
  • Collecting user events.

The following steps will guide iOS app developers on how to seamlessly integrate the SDK into their mobile applications.

Requirements

  • iOS 13.0 or later
  • Xcode 14.0 or later

🎢 Installation

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate Castled into your Xcode project using CocoaPods, specify it in your Podfile:

pod 'Castled'

Swift Package Manager

The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler.

Once you have your Swift package set up, adding Castled as a dependency is as easy as adding it to the dependencies value of your Package.swift.

dependencies: [
    .package(url: "https://github.com/castledio/castled-ios-sdk", .upToNextMajor(from: "x.x.x"))
]

🎁 Examples

Explore our examples project which showcases multiple features' integrations.

📚 Documentation

For a comprehensive guide on SDK integration, please check out our documentation.