Progress will discontinue Telerik Platform on May 10th, 2018. Learn more

Creating Data Items

Creating Data Items

The Backend Services iOS SDK allows you to create a single data item in a single method call.

Creating items is as easy as instantiating objects and passing them to the create method. Of course, all objects you pass to the methods must be defined according to the Telerik Platform Data Model.

Once the items are created, the server will return the newly generated IDs along with the CreatedAt date of the server. The values will be automatically set to the objects you passed.

Activities *activity = [[Activities alloc]init];
activity.text = @"Sailing";

EVDataStore *dataStore = [EVDataStore sharedInstance];
[dataStore create:activity block:^(BOOL success, NSError *error) {
...
}];
Start a free trial Request a demo
Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.