Skip to content

Commit

Permalink
iOS examples (#7599)
Browse files Browse the repository at this point in the history
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->

## About the changes
<!-- Describe the changes introduced. What are they and why are they
being introduced? Feel free to also add screenshots or steps to view the
changes if they're visual. -->

<!-- Does it close an issue? Multiple? -->
Closes #

<!-- (For internal contributors): Does it relate to an issue on public
roadmap? -->
<!--
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#
-->

### Important files
<!-- PRs can contain a lot of changes, but not all changes are equally
important. Where should a reviewer start looking to get an overview of
the changes? Are any files particularly important? -->


## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->
  • Loading branch information
nnennandukwe authored Jul 16, 2024
1 parent cfd2070 commit 7909f56
Show file tree
Hide file tree
Showing 8 changed files with 369 additions and 3 deletions.
354 changes: 354 additions & 0 deletions website/docs/feature-flag-tutorials/ios/examples.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -201,3 +201,5 @@ Next, return to your app and rebuild the project. With the flag disabled, the fl
## Conclusion

In this tutorial, we ran Unleash locally, created a new feature flag, installed the iOS SDK into an iOS app, and logged a feature flag status.

Explore some [more advanced uses cases in our iOS Examples](/feature-flag-tutorials/ios/examples)
2 changes: 1 addition & 1 deletion website/docs/feature-flag-tutorials/react/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ At the flag level in Unleash, navigate to the Settings view.

![Editing feature flag settings in Unleash.](/img/react-ex-edit-settings.png)

In the Settings view, click on the edit button. This will take us to the ‘Edit feature flag form.
In the Settings view, click on the edit button. This will take us to the ‘Edit feature flag' form.

![Enabling impression data for a feature flag.](/img/react-ex-enable-impression-data.png)

Expand Down
14 changes: 12 additions & 2 deletions website/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,19 @@ module.exports = {
],
},
{
type: 'doc',
type: 'category',
label: 'iOS',
id: 'feature-flag-tutorials/ios/implementing-feature-flags',
link: {
type: 'doc',
id: 'feature-flag-tutorials/ios/implementing-feature-flags',
},
items: [
{
type: 'doc',
label: 'Examples',
id: 'feature-flag-tutorials/ios/examples',
},
],
},
{
type: 'category',
Expand Down
Binary file added website/static/img/ios-ex-event-logs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7909f56

Please sign in to comment.