TweakTradeDestination
public protocol TweakTradeDestination
Undocumented
-
The name of the destination.
This will be displayed in the tweak UI.
Declaration
Swift
var name: String { get } -
needsNotifyCompletionDefault implementationA Boolean value that determines whether show a notify UI when the operation is complete.
Default Implementation
Declaration
Swift
var needsNotifyCompletion: Bool { get } -
Ships tweak data.
Declaration
Swift
func ship(_ cargo: TweakTradeCargo, completion: @escaping (Error?) -> Void)Parameters
cargoThe tweak data.
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
TweakTradeDestination Protocol Reference