TweakTradeDestination
public protocol TweakTradeDestination
Undocumented
-
The name of the destination.
This will be displayed in the tweak UI.
Declaration
Swift
var name: String { get }
-
needsNotifyCompletion
Default 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
cargo
The tweak data.
completion
The handler block for you to execute after you have performed the operation. This block has no return value and takes the following parameter: