this is pretty rad!!
i like how “swiftly” these releases are coming out. :)
On Dec 16, 2014, at 1:36 AM, Christos Vasilakis
<cvasilak(a)gmail.com> wrote:
Hi AeroGear community,
we are happy to announce a pre-release of our various iOS libraries. Here are few of new
features introduced in each respective list:
- aerogear-ios-jsonsz <
https://github.com/aerogear/aerogear-ios-jsonsz> (new)
A newly introduced library which will take care the cumbersome plumbing required when
performing JSON serialisation back and forth from your Swift object model. For an example
usage of the library together with our http-lib check our Buddies cookbook example
<
https://github.com/aerogear/aerogear-ios-cookbook/tree/master/Buddies>.
- aerogear-ios-http <
https://github.com/aerogear/aerogear-ios-http>
We added the ability to perform basic/digest authentication when performing REST
Requests. Check out our Authentication cookbook example
<
https://github.com/aerogear/aerogear-ios-cookbook/tree/master/Authenticat...;, for
an example usage of the API but remember to prefer HTTPS over plain HTTP when performing
authentication of this type.
- aerogear-ios-oauth2 <
https://github.com/aerogear/aerogear-ios-oauth2>
Continuing the development of our OAuth2 library, OpenID Connect support was added to
the library in the form of a ‘login’ request. Checkout out our ‘SharedShoot’ cookbook
example
<
https://github.com/corinnekrych/aerogear-ios-cookbook-1/tree/AGIOS-287/Sh...
that login's to KeyCloak <
http://keycloak.jboss.org/> using OpenID connect for
an example usage.
- aerogear-ios-httpstub <
https://github.com/aerogear/aerogear-ios-httpstub.git>
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. Check out our tests
<
https://github.com/aerogear/aerogear-ios-httpstub/blob/master/AGURLSessio...
an example usage.
Last, this release introduces Cocoapod <
http://cocoapods.org/> support for our
libraries. Although Cocoapods hasn’t yet officially support ‘Swift’ that is planned for
the next 0.36 release, a branch <
https://github.com/CocoaPods/CocoaPods/tree/swift>
on the project is working on it and already libraries starting to adopt. Just make sure to
include a Gemfile in your project pointing to that cocoapods branch (see here
<
http://swiftwala.com/cocoapods-is-ready-for-swift/> for more detailed instructions)
and in your Podfile include the desired library. For example usage, see our cookbook
repository <
https://github.com/aerogear/aerogear-ios-cookbook> where all of our
demos have been converted.
So, give the libraries and demos a spin and let us know what you think. If no bad things
heard we are planning to tag and officially release 2.1 this Friday.
Have fun!
Corinne & Christos
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev