Skip to content

Instantly share code, notes, and snippets.

View spydercapriani's full-sized avatar

Danny Gilbert spydercapriani

  • Texas
View GitHub Profile
@spydercapriani
spydercapriani / Package.swift
Last active December 19, 2022 19:24
Swappable SPM Configuration
// swift-tools-version:5.7
import PackageDescription
import Foundation
/*
SPM Swappable Libraries
https://forums.swift.org/t/swiftpm-and-swappable-libraries/43593/2
Hack until SE-0273 becomes fully supported
https://github.com/apple/swift-evolution/blob/main/proposals/0273-swiftpm-conditional-target-dependencies.md
@spydercapriani
spydercapriani / HTTPResponseCode.swift
Created December 14, 2022 21:53
HTTPResponseCodes
import Foundation
public struct ResponseCode: OptionSet {
public let rawValue: Int
public init(rawValue: Int) {
self.rawValue = rawValue
}
}

Keybase proof

I hereby claim:

  • I am spydercapriani on github.
  • I am spydercapriani (https://keybase.io/spydercapriani) on keybase.
  • I have a public key ASCaUAYmyKaOSKYKr0ct5KyGkr_rNRrhXmu13OkZHiYf_Qo

To claim this, I am signing this object: