Skip to content

Foreverland/DesignerNewsDemo

Repository files navigation

This app demostrates how to use the Sync library in Objective-C.

Image

{
  "stories":[
    {
      "id":47333,
      "title":"Site Design: Aquest",
      "vote_count":6,
      "created_at":"2015-04-06T13:16:36Z",
      "num_comments":6,
      "submitter_display_name":"Chris A.",
      "comments":[
        {
          "body":"Beautiful.",
          "created_at":"2015-04-06T13:45:20Z",
          "depth":0,
          "user_display_name":"Sam M.",
          "upvotes_count":0,
          "comments":[

          ]
        }
      ]
    }
  ]
}

Model

Model

Sync

[Sync changes:JSON[@"stories"]
inEntityNamed:@"Story"
    dataStack:dataStack
   completion:^(NSError *error) {
       [UIApplication sharedApplication].networkActivityIndicatorVisible = NO;
   }];

About

Sync's Objective-C Designer News Demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published