wit-ai / wit-ios

Wit.ai iOS client
Other
222 stars 71 forks source link

API Version added to interpretString #19

Closed hactar closed 10 years ago

hactar commented 10 years ago

API Version was not being used in the interpretString function, and since the new API uses "outcomes" instead of "outcome", this broke that function. This pull request fixes this, and moves the API version to its own constant to ensure that there's only one spot need to update it in all places.

I've also done a tiny cleanup of the xcode project file, moving .h and .m files together in the list.