Created
August 4, 2021 10:26
-
-
Save varun04/4e456c060ae991e4b61a68470a1015c2 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