Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BenefitsSDK

A Swift Package Manager library for integrating benefits functionality into iOS and macOS applications.

Requirements

  • iOS 13.0+ / macOS 10.15+
  • Xcode 12.0+
  • Swift 5.9+

Installation

Swift Package Manager

Add BenefitsSDK as a dependency in your Package.swift:

dependencies: [
    .package(url: "https://github.com/your-org/benefits-sdk.git", from: "1.0.0")
]

Or add it through Xcode:

  1. File → Add Package Dependencies
  2. Enter the repository URL: https://github.com/your-org/benefits-sdk.git
  3. Select the version and add to your target

Usage

Basic Setup

import BenefitsSDK

// Configure the SDK
let configuration = BenefitsConfiguration(
    clientId: "your-client-id",
    environment: .production,
    enableLogging: false
)

// Initialize the SDK
BenefitsSDK.shared.initialize(with: configuration)

Configuration Options

  • clientId: Your unique client identifier
  • environment: .development, .staging, or .production
  • enableLogging: Enable/disable SDK logging

License

This project is licensed under the MIT License.

hsbc-wrapper-ios

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages