From 5c0480ed171a9d86455bf8d8ca46c0d0f0ab3676 Mon Sep 17 00:00:00 2001 From: Tim <0xTim@users.noreply.github.com> Date: Fri, 19 May 2017 08:17:45 +0100 Subject: [PATCH] Update README for using with Config --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8ff53aa..49bf573 100644 --- a/README.md +++ b/README.md @@ -38,11 +38,12 @@ Add Markdown Provider as a dependency in your `Package.swift` file: ### Add the Provider -You can add a provider to you `Droplet`, which will do all of the setup for you and register your tag. Just add it as so: +You can add a provider to you `Config`, which will do all of the setup for you and register your tag. Just add it as so: ```swift -let drop = Droplet() -try drop.addProvider(MarkdownProvider.Provider.self) +let config = try Config() +try config.addProvider(MarkdownProvider.Provider.self) +let drop = try Droplet(config) ```