-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The PR was automatically generated via the update-sdk-docs GitHub workflow. Signed-off-by: OpenFeature Bot <[email protected]>
- Loading branch information
1 parent
7587e9d
commit 6470077
Showing
14 changed files
with
83 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,18 +10,18 @@ This content has been automatically generated from swift-sdk. | |
Edits should be made here: https://github.com/open-feature/swift-sdk | ||
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs | ||
|
||
Last updated at Wed Jan 22 2025 08:09:31 GMT+0000 (Coordinated Universal Time) | ||
Last updated at Mon Feb 03 2025 08:09:40 GMT+0000 (Coordinated Universal Time) | ||
--> | ||
|
||
<p align="center" class="github-badges"> | ||
|
||
<a href="https://github.com/open-feature/spec/releases/tag/v0.7.0"> | ||
<img alt="Specification" src="https://img.shields.io/static/v1?label=specification&message=v0.7.0&color=yellow&style=for-the-badge" /> | ||
<a href="https://github.com/open-feature/spec/releases/tag/v0.8.0"> | ||
<img alt="Specification" src="https://img.shields.io/static/v1?label=specification&message=v0.8.0&color=yellow&style=for-the-badge" /> | ||
</a> | ||
|
||
|
||
<a href="https://github.com/open-feature/swift-sdk/releases/tag/0.2.1"> | ||
<img alt="Release" src="https://img.shields.io/static/v1?label=release&message=v0.2.1&color=blue&style=for-the-badge" /> | ||
<a href="https://github.com/open-feature/swift-sdk/releases/tag/0.3.0"> | ||
<img alt="Release" src="https://img.shields.io/static/v1?label=release&message=v0.3.0&color=blue&style=for-the-badge" /> | ||
</a> | ||
|
||
|
||
|
@@ -58,7 +58,7 @@ First, ensure you have your GitHub account added as an option (+ > Add Source Co | |
If you manage dependencies through SPM, in the dependencies section of Package.swift add: | ||
|
||
```swift | ||
.package(url: "[email protected]:open-feature/swift-sdk.git", from: "0.2.1") | ||
.package(url: "[email protected]:open-feature/swift-sdk.git", from: "0.3.0") | ||
``` | ||
|
||
and in the target dependencies section add: | ||
|
@@ -84,11 +84,12 @@ Task { | |
|
||
## Features | ||
|
||
| Status | Features | Description | | ||
| ------ | ------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | | ||
| Status | Features | Description | | ||
| ------ | ------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | | ||
| ✅ | [Providers](#providers) | Integrate with a commercial, open source, or in-house feature management tool. | | ||
| ✅ | [Targeting](#targeting) | Contextually-aware flag evaluation using [evaluation context](/docs/reference/concepts/evaluation-context). | | ||
| ✅ | [Hooks](#hooks) | Add functionality to various stages of the flag evaluation life-cycle. | | ||
| ❌ | [Tracking](#tracking) | Associate user actions with feature flag evaluations. | | ||
| ❌ | [Logging](#logging) | Integrate with popular logging packages. | | ||
| ❌ | [Named clients](#named-clients) | Utilize multiple providers in a single application. | | ||
| ✅ | [Eventing](#eventing) | React to state changes in the provider or flag management system. | | ||
|
@@ -147,6 +148,10 @@ _ = client.getValue( | |
defaultValue: false, | ||
options: FlagEvaluationOptions(hooks: [ExampleHook()])) | ||
``` | ||
### Tracking | ||
|
||
Tracking is not yet available in the iOS SDK. | ||
|
||
### Logging | ||
|
||
Logging customization is not yet available in the iOS SDK. | ||
|
@@ -236,7 +241,7 @@ class BooleanHook: Hook { | |
// do something | ||
} | ||
|
||
func finallyAfter<HookValue>(ctx: HookContext<HookValue>, hints: [String: Any]) { | ||
func finally<HookValue>(ctx: HookContext<HookValue>, hints: [String: Any]) { | ||
// do something | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters