Simple Data Operations

Data Abstract for Cocoa comes with three samples that demonstrate using the DARemoteDataAdapter class to retrieve a DADataTable, then making modifications to that table before then applying those changes back to the server. Specifically it shows how to retrieve a table, add a new row, modify that row and finally delete that row from the table.

All of the samples below demonstrate using synchronous methods to communicate with the server, however asynchronous versions of those methods are also available and will be pointed out where appropriate.

Sample 1: Console based application

The Console Sample is typically located in /Developer/RemObjects Software/Samples/Data Abstract/Console/SimpleDataOperations, though you may have installed the sample in another location. There is also an asynchronous version of this sample available /Developer/RemObjects Software/Samples/Data Abstract/Console/SimpleDataOperationAsync

Sample 2: Desktop based application

The Desktop Sample is typically located in /Developer/RemObjects Software/Samples/Data Abstract/Desktop/SimpleDataOperations, though you may have installed the sample in another location.

Sample 3: Mobile (iOS) based application

The Mobile Sample is typically located in /Developer/RemObjects Software/Samples/Data Abstract/Mobile/SimpleDataOperations, though you may have installed the sample in another location.

See Also