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)
- Host: GitHub
- URL: https://github.com/launchdarkly/hello-ios-swift
- Owner: launchdarkly
- License: other
- Created: 2017-03-31T00:15:30.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2024-03-06T17:19:57.000Z (4 months ago)
- Last Synced: 2024-03-06T18:41:06.943Z (4 months ago)
- Topics: examples, feature-flags, feature-toggles, ios, launchdarkly, launchdarkly-sdk, managed-by-terraform, sdk-examples, swift
- Language: Swift
- Homepage:
- Size: 746 KB
- Stars: 5
- Watchers: 45
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Lists
- awesome-launchdarkly - Swift Hello LaunchDarkly
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.