Implementation of smartStore in an iOS application

We are creating an application which is integrated with salesforce mobile sdk. for offline capability and synchnonization salesforce people are providing smartStore and smartSync frameworks. As of now we can be able to create app which deals with online but we are concerning about offline. Can you please help us by providing a demo on smartStore and smartSync.