Skip to content
This repository has been archived by the owner on Nov 2, 2019. It is now read-only.

Commit

Permalink
Reference validate() instead of canShare in documentation for ShareEr…
Browse files Browse the repository at this point in the history
…ror.
  • Loading branch information
nlutsenko committed Nov 1, 2016
1 parent 14b37b1 commit 52b4f27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Share/ShareError.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 52b4f27

Please sign in to comment.