public class TKShareURLProvider : UIActivityItemProvider
@objc(getShareURLForShareable:allowLongURL:success:failure:) public class func getShareURL(for shareable: TKURLShareable, allowLongURL: Bool, success: @escaping (URL) -> Void, failure: (() -> Void)?)
Gets and optionally fetches the share URL for the provided object.
If the object didn’t yet have a share URL, it is fetched and the object conforms to
TKURLSavable, the URL is also persisted in the object’s
@discardableResult @objc(getShareURLForShareable:allowLongURL:allowBlocking:) public class func getShareURL(for shareable: TKURLShareable, allowLongURL: Bool, allowBlocking: Bool) -> URL?
Object for which to get a URL for sharing
If long URL is allowed (e.g., long UUID rather than a short identifier)
If method call is allowed to block and fetch the URL from a server
The URL for sharing. Is discardable as for
TKURLSavableyou can get it from the object’s