Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/launchdarkly/hello-ios-swift

LaunchDarkly SDK for iOS (Swift)
https://github.com/launchdarkly/hello-ios-swift

examples feature-flags feature-toggles ios launchdarkly launchdarkly-sdk managed-by-terraform sdk-examples swift

Last synced: 3 months ago
JSON representation

LaunchDarkly SDK for iOS (Swift)

Lists

README

        

### LaunchDarkly Sample iOS Application ###

[![Build](https://github.com/launchdarkly/hello-ios-swift/actions/workflows/ci.yml/badge.svg)](https://github.com/launchdarkly/hello-ios-swift/actions/workflows/ci.yml)

We've built a simple Swift application that demonstrates how LaunchDarkly's SDK works.
Below, you'll find the basic build procedure, but for more comprehensive instructions, you can visit your [Quickstart page](https://app.launchdarkly.com/quickstart#/).

##### Build instructions #####

1. Make sure you have [Xcode](https://itunes.apple.com/us/app/xcode/id497799835?ls=1&mt=12) installed
2. Run 'pod install' to get the latest iOS client integrated.
3. Open `hello-ios.xcworkspace` in Xcode
4. Copy the mobile key from your account settings page and set `mobileKey` in `AppDelegate.swift`.
5. Copy the feature flag key from your LaunchDarkly dashboard and set `featureFlagKey` in `ViewController.swift`

6. Run your application through Xcode.
7. Update the feature flags from your LaunchDarkly dashboard and the feature flag label in the view controller should update with the current value of the feature flag.