Home / Companies / Couchbase / Blog / Post Details
Content Deep Dive

Displaying a Sync Progress Indicator in an iOS app

Blog post from Couchbase

Post Details
Company
Date Published
Author
James Nocentini, Technical Writer, Mobile, Couchbase
Word Count
1,369
Language
English
Hacker News Points
-
Summary

NSProgress` is an object in Foundation that represents the completion of some work, allowing easy reporting of progress across various components for both UI and system applications. Couchbase Mobile uses `NSProgress` to inform about change events during replication. The tutorial on importing data from the Google Places API to Sync Gateway and replicating it to an iOS app demonstrates how to use `NSProgress`. The process involves creating a new project in the Google Developer Console, generating a Server API Key, setting up a pull replication with the iOS SDK, and using replication change notifications to display a progress bar in the UI.