Skip to content

Swift 4 support

Compare
Choose a tag to compare
@pcantrell pcantrell released this 18 Sep 04:50
· 224 commits to main since this release

Enhancements

  • Swift 4 support is here! If you want to stick with Swift 3 for now, use version 1.2.x or the swift-3 branch.
  • Swift 4’s Codable is the new, better way to handle JSON — and Siesta supports it nicely. See it in action in the example project.
  • To better support Codable, Siesta now provides a convenient way to disable its default JSON → Dictionary parsing while still preserving the built-in text and image parsing. (It was an all-or-nothing proposition before.) See #214 for details.
  • For those not jumping to Codable just yet, the SwiftyJSON support that used to be in the example project now lives in Extensions/.
  • The example app now includes live in-app commentary on what Siesta is doing and why it’s interesting, making pod try a much more edifying experience.

Breaking Changes

None.