The Telerik Platform product is retired.Learn more

Reading Data Items

Reading Data Items

The Backend Services iOS SDK allows you to read single or multiple data items in a single method call.

Below you can find samples for reading data from Telerik Platform.

Single item

[dataStore fetch:[Activities class] uniqueId:[testActivity id] block:^(NSArray *result, NSError *error) {
    Activity *activity = [result objectAtIndex:0];
}];

All items

[dataStore fetchAll:[Activities class] block:^(NSArray *result, NSError *error) {
    NSArray *allActivities = result;
}];
Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2018, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.