From 5dc11fced1dadf855309c1c3ab759a7f3c234c40 Mon Sep 17 00:00:00 2001 From: Patrick Balestra Date: Fri, 10 May 2019 17:43:13 +0200 Subject: [PATCH] Update README documentation --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6237ab4..1a0e126 100644 --- a/README.md +++ b/README.md @@ -40,12 +40,12 @@ If you're using `WhatsNew` in your app, please let me know and I will make sure There are a bunch of customizable properties with corresponding documentation. ```swift +/// This method allows marking the current version as presented. This is useful in case you want to avoid showing WhatsNew to first-time users for example. +public static func markCurrentVersionAsPresented() + /// Defines when to present the What's New view controller. Check the `PresentationOption` enum for more details. public var presentationOption: PresentationOption = .always -/// Call this method to mark the current version as presented. This is useful in case you want to avoid showing WhatsNew to first-time users of the app for example. -public static func markCurrentVersionAsPresented() - /// Closure invoked when the user dismisses the view controller. public var onDismissal: (() -> Void)?