From f6b6163bb0fc4b853d8a166e90afeb724ed53d4d Mon Sep 17 00:00:00 2001 From: Fabrizio Demaria Date: Thu, 16 Mar 2023 13:50:22 +0100 Subject: [PATCH] Update README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)