Any thoughts on the iOS side of things ? 

-Matthias


On Mon, Jan 13, 2014 at 5:56 PM, Matthias Wessendorf <matzew@apache.org> wrote:
Hi,

based on the ag.org "sync-branch" (see [1]), I created a SIMPLE first iOS hack of a "document" API with a HTTP client that talks to Dan's Server.  

The model ([2]) is quite easy/simple and the HTTP client supports CREATE/READ/REMOVE ([3]), based on the protocol defined on the README of the server.

The usage is covered in a test (like [4]).

Next: I guess next (if we continue using Dan's Server) is to see how this project can we weaved into the exisiting stores - but first I really wanted to get some client (like Luke's JS client) which executes against our current server draft/implementation.

BTW. the lib is based on AFN2.x (not sure we should use AFN 2.x at THIS point - switching to 1.x should not be that hard)

-Matthias

[1] https://github.com/aerogear/aerogear.org/pull/230
[2] https://github.com/matzew/AGSyncKit/blob/master/SyncKit/AGDocument.h
[3] https://github.com/matzew/AGSyncKit/blob/master/SyncKit/AGSyncClient.h
[4] https://github.com/matzew/AGSyncKit/blob/master/SyncKitTests/SyncKitTests.m#L37-L61

--
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf



--
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf