This file contains 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
import Foundation | |
struct GoogleSheet { | |
/// Fetch CSV parsed data from a certain sheet. | |
/// | |
/// - Parameters: | |
/// - id: The unique sheet ID. | |
/// - name: The name of the sheet to parse, by default the first. | |
static func csvData( |
This file contains 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
// MARK: - BEFORE STRICT CONCURRENCY | |
// This was all the code in `DeckShuffleAnimation` before I made it support strict concurrency | |
public class DeckShuffleAnimation: ObservableObject { | |
public init( | |
maxDegrees: Double = 6, | |
maxOffsetX: Double = 6, | |
maxOffsetY: Double = 6 |