Power of Feature Flags (STRV iOS Meetup)

Power of Feature Flags (STRV iOS Meetup)

Talk on feature flags and how to use them to ship faster, test smarter, and minimize risk without sacrificing quality.

Tomas Parizek

October 22, 2025

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

91 slides
  1. Raise your hand if you’ve ever • Had to change

    something multiple times because the client changed their mind? • Had to release a hotfix just to disable a buggy feature? • Debated two design options and couldn't agree on decision? • Wanted to test something in production but couldn’t safely do it?
  2. A feature flag is a remotely controlled value that changes

    your app’s behavior without shipping a new build. Feature flag definition
  3. swift-configuration • Open source library from Apple • Build time

    configurations • Build in 󰎱 (according to git history)
  4. Use cases • A/B Testing & Experiments • Gradual Rollouts

    • Remote Tuning • QA & Internal Testing • Emergency Rollback
  5. A/B Testing • Compare two or more feature variants (e.g.,

    layouts, flows) • Measure performance, engagement, or conversion • Roll out winner automatically or via flag switch • Make design and product decisions based on data
  6. Gradual Rollouts • Start with a small user segment (e.g.,

    5–10%) • Expand safely after confirming stability • Reduce risk of large-scale crashes or regressions • Roll back instantly if issues appear
  7. Remote Tuning • Adjust app behavior without a new App

    Store build • Change constants, copy, or configuration remotely • Quickly react to client feedback or market conditions
  8. QA & Internal Testing • Expose hidden or unfinished features

    only to testers • Test in production environments safely • Simplify QA cycles with toggle-based access • Keep main branch always releasable
  9. Emergency Rollback • Instantly disable problematic features in production •

    No App Store hotfix required • Minimize user impact during outages or bugs • Increases confidence in faster releases
  10. Services • • Third party services: ◦ Firebase Remote Config

    ◦ GrowthBook ◦ ConfigCat Custom: ◦ Static JSON hosted on CDN ◦ Backend driven JSON
  11. Custom setup • Options: ◦ Static JSON hosted on CDN

    ◦ Backend driven JSON • Full control • No vendor lock • Hard to run and evaluate experiments
  12. Architecture • Create a dedicated Service • Define a FeatureFlags

    struct or enum for type-safe access • Keep defaults locally; override with remote values • Inject into your app’s environment for testability
  13. Fetching • Fetch remote config on app launch • Wait

    for flags before showing main UI → prevents visible changes mid-session
  14. Developer Convenience • Custom macro or property wrapper for type-safe

    flag access • Debug screen to toggle flags manually
  15. Flag Lifecycle Management • Every flag should have an owner

    and a removal date • Regularly audit and delete old flags • Approval process for flag creation and changes
  16. Backend-Synced Feature Parity • Keep client and backend feature logic

    consistent • Use shared configuration services or schemas for both layers
  17. Analytics • Track feature flag evaluation results as analytics events

    • Correlate with performance, engagement, and crash data • Detect unexpected behaviors or regressions linked to flag activations
  18. Summary • Feature flags are remotely controlled values • Adapt

    user experience by context — user, environment, or experiment group • Roll out gradually, test safely, and react instantly • Analyze results to make smarter product decisions • Keep flags clean and consistent across systems
  19. structure Start with the Basic Layout. If the presentation feels

    monotonous mix white and black slides. Alternate between left and right alignment of content slides. Always prefer larger font slides for title slides. Do not use this slide in your presentation
  20. Presentation TItles Do not use this slide in your presentation,

    it's just a section break in this template
  21. Section TItles Do not use this slide in your presentation,

    it's just a section break in this template
  22. Content (White) Do not use this slide in your presentation,

    it's just a section break in this template
  23. Slide title • This is the first line of the

    bullet point • This is the second line of the bullet point ◦ This is the second level of bullet ▪ This is the third level of bullet • This is the fourth level of bullet • This is the third line of the bullet point • This is the fourth line of the bullet point
  24. Slide title You can start your content screen with a

    paragraph before you introduce a couple of bullet points. But stick with 2-3 rows top here so the text isn’t too long. • Now you can use bullet point list • Points out some highlights • And use 3-5 points max
  25. Slide title • This is the first line • This

    is the second line • This is the third line • This is the fourth line • This is the fifth line
  26. Slide title • This is the first line • This

    is the second line • This is the third line • This is the fourth line • This is the fifth line
  27. Slide title • This is the first line • This

    is the second line • This is the third line • This is the fourth line • This is the fifth line
  28. Slide title • This is the first line • This

    is the second line • This is the third line • This is the fourth line • This is the fifth line
  29. Slide title First section subtitle • Use this in case

    you need to have some sections • Keep section titles short and clear • 2-3 points are enough Second section subtitle • You can also use 2-3 points in this section • This slide is nicely structured • With 6 points in total
  30. Slide title First section subtitle Second section subtitle • You

    place two list next to each other • You place two list next to each other • Make sure there is not too much text • Make sure there is not too much text • It does not look that pretty • It does not look that pretty • Only use this when necessary • Only use this when necessary • Otherwise choose a simple option • Otherwise choose a simple option
  31. Slide title • This is the first line of the

    bullet point • This is the second line of the bullet point ◦ This is the second level of bullet ▪ This is the third level of bullet • This is the fourth level of bullet • This is the third line of the bullet point • This is the fourth line of the bullet point FOOTER CONTENT
  32. Content (Black) Do not use this slide in your presentation,

    it's just a section break in this template
  33. Slide Title • This is the first line of the

    bullet point • This is the second line of the bullet point ◦ This is the second level of bullet ▪ This is the third level of bullet • This is the fourth level of bullet • This is the third line of the bullet point • This is the fourth line of the bullet point
  34. Slide Title You can start your content screen with a

    paragraph before you introduce a couple of bullet points. But stick with 2-3 rows top here so the text isn’t too long. • Now you can use bullet point list • Points out some highlights • And use 3-5 points max
  35. Slide title • This is the first line • This

    is the second line • This is the third line • This is the fourth line • This is the fifth line
  36. Slide title • This is the first line • This

    is the second line • This is the third line • This is the fourth line • This is the fifth line
  37. Slide title • This is the first line • This

    is the second line • This is the third line • This is the fourth line • This is the fifth line
  38. Slide title • This is the first line • This

    is the second line • This is the third line • This is the fourth line • This is the fifth line
  39. Slide title First section subtitle Second section subtitle • You

    place two list next to each other • You place two list next to each other • Make sure there is not too much text • Make sure there is not too much text • It does not look that pretty • It does not look that pretty • Only use this when necessary • Only use this when necessary • Otherwise choose a simple option • Otherwise choose a simple option
  40. Slide Title • This is the first line of the

    bullet point • This is the second line of the bullet point ◦ This is the second level of bullet ▪ This is the third level of bullet • This is the fourth level of bullet • This is the third line of the bullet point • This is the fourth line of the bullet point
  41. quote Do not use this slide in your presentation, it's

    just a section break in this template
  42. Presentations are the perfect way to pretend you know what

    you’re talking about while secretly Googling things under the table. Chad Geepee Tee
  43. Presentations are the perfect way to pretend fdasfa know what

    you’re talking about while secretly Googling things under the table. Quoter's name
  44. graphs Do not use this slide in your presentation, it's

    just a section break in this template
  45. ending Do not use this slide in your presentation, it's

    just a section break in this template

More Decks by Tomas Parizek

Other Decks in Programming