Created
November 17, 2019 21:34
-
-
Save dmytro-anokhin/126ca40f1fc8840d0570999f83216e2e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct DecodingOptions { | |
enum Mode { | |
case synchronous | |
case asynchronous | |
} | |
static var `default`: DecodingOptions { | |
DecodingOptions(mode: .asynchronous, sizeForDrawing: nil) | |
} | |
var mode: Mode | |
var sizeForDrawing: CGSize? | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment