Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Swift3 #11

Merged
merged 37 commits into from Sep 11, 2016
Merged

Support Swift3 #11

merged 37 commits into from Sep 11, 2016

Conversation

ra1028
Copy link
Owner

@ra1028 ra1028 commented Aug 28, 2016

Add

  • Add function InsecureDistillate.value(): () throws -> Value
  • Add function SecureDistillate.value(): () -> Value
  • Add function Array<Distillable>.distil(j:)
  • Add function Dictionary<Key: StringConvertible, Value: Distillable>.distil(j:)
  • Add protocol InitDistillable

Breaking

Obsolete

  • Serialize objects to JSON Data or String
  • DistillateType

Rename

  • success(_ handler:) to value(_ handler)
  • failure(_ handler:) to error(_ handler)
  • recover() to catch()
  • DistillSubscripted to LazyJSON
  • JSONPath to Path
  • OptionalType to OptionalConvertible
  • JSONPathElement to PathElement

Change

  • Change the type constraint of distil value functions from distil(Path)(Type) to distil(Path, to: Type)
  • Distillate.filter() is now computed property .filter"
  • JSON became Class object from Struct
  • Enums are now lowercase
  • Some argument labeling rules

@ra1028 ra1028 merged commit 2dc2aa7 into master Sep 11, 2016
@ra1028 ra1028 deleted the swift3 branch September 11, 2016 09:18
@ra1028 ra1028 changed the title [WIP] Support Swift3 Support Swift3 Sep 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant