by Corinne Krych
posted on 30 Jan 2015
We are happy to announce the next versions of our iOS Swift libraries. Here are few of new features introduced in each respective lib.
A newly introduced library which will take care the cumbersome plumbing required when performing JSON serialization back and forth from your Swift object model. Check out the documentation for an overview as well as our Buddies cookbook for example usage.
We added the ability to perform basic/digest authentication when performing REST requests. Check out the HTTP Basic/Digest authentication support section in our library documentation as well as our Authentication cookbook for an example usage. Remember to prefer HTTPS over plain HTTP when performing authentication of this type!
Continuing the development of our OAuth2 library, OpenID Connect support was added to the library in the form of a login request. Check out the Login using OpenID Connect section in our library documentation as well as our SharedShoot cookbook example that logins to KeyCloak server using OpenID connect for an example usage. Further, Corinne blog posts here and here give more information regarding our OAuth2 implementation and is highly recommended if you are interested in the subject.
Stubbed responses from the local file system can be used instead of coding them in your code. This will make easier to stub responses, especially big ones and be much ‘closer’ to the reality. Checkout out Stubbed response loaded from a file section in our library documentation for example usage as well as our tests.
Last, this release introduces Cocoapod support for our libraries. Although Cocoapod hasn’t yet officially support ‘Swift’, that is planned for the next 0.36 release, a branch on the project is working on it and already looks solid enough with many Swift libraries starting to adopt. Just make sure to install the ‘pre’ release version of cocoapods (Check the Cocoapods blog for more information).
We are currently focusing most of our efforts on providing sync support. Already work has been started so expect more in-this front in the coming months. If you are interested in mobile-sync that is the perfect time to join us, we will be happy to know your thoughts and suggestions. Interesting things ahead of us..!
AeroGear iOS team