From 52b4f27635e0d288e130ec53d4c13d238c914675 Mon Sep 17 00:00:00 2001 From: Nikita Lutsenko Date: Mon, 31 Oct 2016 10:47:30 -0700 Subject: [PATCH] Reference validate() instead of canShare in documentation for ShareError. --- Sources/Share/ShareError.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Share/ShareError.swift b/Sources/Share/ShareError.swift index ddeb22fc..35ca04a2 100644 --- a/Sources/Share/ShareError.swift +++ b/Sources/Share/ShareError.swift @@ -31,7 +31,7 @@ public enum ShareError: Error { /** The error code for when a sharing dialog is not available. - Use the `canShare` property to check for this case before calling show. + Use the `validate()` function on the dialog/sharer to check for this case before calling `show()`. */ case dialogNotAvailable