diff --git a/README.md b/README.md index 7c8f2ce..5a31e10 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ To enable the provider and start resolving flags add the following: import OpenFeature // Change this to your actual provider -OpenFeatureAPI.shared.provider = NoOpProvider() +OpenFeatureAPI.shared.setProvider(provider: NoOpProvider()) let client = OpenFeatureAPI.shared.getClient() let value = client.getBooleanValue(key: "flag", defaultValue: false)