Customer Engagement Platform for the Modern Data Stack
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.
- iOS 13.0 or later
- Xcode 14.0 or later
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'
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"))
]
Explore our examples project which showcases multiple features' integrations.
For a comprehensive guide on SDK integration, please check out our documentation.