TweakTradeSource
public protocol TweakTradeSource
A type that represents a import source.
-
The name of the source.
This will be displayed in the tweak UI.
Declaration
Swift
var name: String { get } -
Receives tweak data.
Declaration
Swift
func receive(completion: @escaping (Result<TweakTradeCargo, Error>) -> Void)Parameters
completionThe handler block for you to execute after you have performed the operation. This block has no return value and takes the following parameter:
View on GitHub
TweakTradeSource Protocol Reference