AFIncrementalStore

Core Data Persistence with AFNetworking, Done Right

  1. link Completed

    AFIncrementalStore on Github

    Core Data Persistence with AFNetworking, Done RightAFIncrementalStore is an NSIncrementalStore subclass that uses AFNetworking to automatically request resources as properties and relationships are needed.Weighing in at just a few hundred LOC, in a single .h,.m file pair, AFIncrementalStore is something you can get your head around. Integrating it into your project couldnt be easier--just swap out your NSPersistentStore for it. No monkey-patching, no extra properties on your models.

    Edit Remove Move
  2. article Completed

    Building an iOS App with AFIncrementalStore and the Core Data Buildpack

    <span>Heroku makes it easy to develop mobile applications. With&nbsp;<a target="_blank" rel="nofollow" href="https://github.com/AFNetworking/AFIncrementalStore">AFIncrementalStore</a>and the&nbsp;<a target="_blank" rel="nofollow" href="https://github.com/mattt/heroku-buildpack-core-data">Core Data Buildpack</a>, developers are able to get working on the core of their application in a matter of minutes, creating a robust webservice scaffolding that is able to generate RESTful APIs from just the project’s Core Data model.</span><span>This article will guide you through the process of developing a small ToDo app. Simple as this example may be, the rapid development strategies described in this article can be applied to networked iOS apps of almost any size or complexity.</span>

    Edit Remove Move
  3. embed Completed

    AFIncrementalStore

    <span>Second to views, networking is the hardest part of iOS programming. And it's several orders of magnitude more difficult if you plan to persist a local copy of the data in Core Data, and keep it in sync with the server. Nevermind the tricky theoretical issues of local cache invalidation and conflict resolution, it's hard enough to get Core Data set up in the first place! At least all of this was true before AFInrementalStore came around. Come learn how AFIncrementalStore works, and in doing so, get a deep dive into Core Data itself.</span>

    Edit Remove Move
  4. article Completed

    Kinvey and AFIncrementalStore

    <span>Using Core Data to manage data in the app, so we used&nbsp;</span><a target="_blank" rel="nofollow" href="https://github.com/AFNetworking/AFIncrementalStore" title="Link: https://github.com/AFNetworking/AFIncrementalStore">AFIncrementalStore</a><span>&nbsp;as the persistent store for our Core Data stack. Using Kinvey’s REST API and a subclass of&nbsp;</span>AFRESTClient<span>, we found that Core Data can be integrated with Kinvey fairly easily.</span>

    Edit Remove Move
  5. article Completed

    CoreData - Data Mapping with AFIncrementalStore

    <span>The&nbsp;<a target="_blank" rel="nofollow" href="https://github.com/AFNetworking/AFIncrementalStore">AFIncrementalStore</a>&nbsp;is a concrete implementation of the&nbsp;<a target="_blank" rel="nofollow" href="https://developer.apple.com/library/ios/#documentation/CoreData/Reference/NSIncrementalStore_Class/Reference/NSIncrementalStore.html">NSIncrementalStore</a>&nbsp;API (see<a target="_blank" rel="nofollow" href="http://chris.eidhof.nl/post/17826914256/accessing-an-api-using-coredatas-nsincrementalstore">Chris’ blog</a>&nbsp;and&nbsp;<a target="_blank" rel="nofollow" href="http://nshipster.com/nsincrementalstore/">NSHipster</a>&nbsp;for more details), which allows you to access remote endpoints, like RESTful “Web Services”, by using the CoreData API.</span><span>The project has three simple examples, including how to apply type mapping, in cases when you can’t use the JSON key in your class, like ID or description (as these are ObjC key words).</span>

    Edit Remove Move

Continue learning by following more paths or create your own. Join for FREE

By clicking 'Get Started Free' you agree to our Terms of Service and Privacy Policy