Skip to content

Throwing, Parsing, and Naming

Pre-release
Pre-release
Compare
Choose a tag to compare
@bmbowdish bmbowdish released this 06 Mar 20:57
· 25 commits to master since this release
651190c
  • Card.CardFace is now Card.Face
  • All get*() now return throws -> *
  • parse* now is parseResource
  • ResultType handles whether a call failed or succeeded.
  • print() now works on all types
    • simplePrint() doesn't exist
do {
    let card = try Swiftfall.getRandomCard()
    print(card) 
} catch {
    ... 
}