Swiftpack.co - DevCycleHQ/ios-client-sdk as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by DevCycleHQ.
DevCycleHQ/ios-client-sdk 1.11.0
DevCycle iOS Client SDK
⭐️ 22
🕓 15 hours ago
iOS macOS watchOS tvOS
.package(url: "https://github.com/DevCycleHQ/ios-client-sdk.git", from: "1.11.0")

DevCycle iOS / macOS Client SDK

CocoaPods compatible Carthage compatible SwiftPM compatible

The DevCycle iOS / tvOS / watchOS / macOS Client SDK. This SDK uses our Client SDK APIs to perform all user segmentation and bucketing for the SDK, providing fast response times using our globally distributed edge workers all around the world.

Requirements

This version of the DevCycle Client SDK supports iOS 12.0+ / tvOS 12.0+ / watchOS 7.0+ / macOS 10.13+

Installation

** Note **: Versions 1.3.2 and below are deprecated due to changes to the UserConfig model that support new properties from the retrieved config.

CocoaPods

The SDK can be installed into your iOS project by adding the following to your cocoapod spec:

pod 'DevCycle'

Then, run pod install.

Carthage

Include the following in your Cartfile to integrate DevCycle as a dependency to your project:

github "DevCycleHQ/ios-client-sdk"

Then, run carthage update --use-xcframeworks. Drag the built .xcframework bundles from Carthage/Build into the "Frameworks and Libraries" section of your application’s Xcode project.

Swift Package Manager

To use the library with Swift Package Manager, include it as a dependency in your Package.swift file like so:

...
    dependencies: [
        .package(url: "https://github.com/DevCycleHQ/ios-client-sdk.git", .upToNextMinor("1.6.0")),
    ],
    targets: [
        .target(
            name: "YOUR_TARGET",
            dependencies: ["DevCycle"]
        )
    ],
...

You can also add it through Xcode, i.e. File > Swift Packages > Add Package Dependency, then enter the repository clone URL.

Usage

To find usage documentation, check out our docs.

GitHub

link
Stars: 22
Last commit: 23 hours ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

1.11.0 Release
23 hours ago
  • fix deadlock from previous version by using separate DispatchQueue

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics