Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.1 » UltraLite - C and C++ Programming » Tutorials » Tutorial: Building an iPhone application using the C++ API

 

Lesson 7: Adding a progress display

In the previous lesson, you added rudimentary synchronization that was performed on the main thread. Blocking the main thread in such a way is not recommended. In this lesson you move the synchronization to a background thread, and add a synchronization observing method to update a progress display.

 Creating the progress toolbar
 Performing synchronization in a background thread