Skip to content

Commit

Permalink
Key decoding strategy (#50)
Browse files Browse the repository at this point in the history
* camelCase using keyDecodingStrategy

* Fix Readme for camelCase
  • Loading branch information
bmbowdish authored Jul 2, 2019
1 parent f5dd752 commit da7fc3c
Show file tree
Hide file tree
Showing 3 changed files with 93 additions and 94 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Ex.
import Swiftfall
do {
let card = try Swiftfall.getCard(exact:"Jace, Vryn's Prodigy")
let faces = card.card_faces
let faces = card.cardFaces
let front = faces![0]
let back = faces![1]
print(front)
Expand Down
Loading

0 comments on commit da7fc3c

Please sign in to comment.