Is there a way to create a table and save data in a backendless.com database with swift2? I found just code for Objective-C.
Objektiv-C code:
-(void)saveNewContact
{
Responder *responder = [Responder responder:self selResponseHandler:@selector(responseHandler:) selErrorHandler:@selector(errorHandler:)];
Contact *contact = [Contact new];
contact.age = 21;
contact.title = @"title";
contact.name = @"name";
contact.phone = @"555-555-555";
id<IDataStore> dataStore = [backendless.persistenceService of:[Contact class]];
[dataStore save:contact responder:responder];
}
URL: https://backendless.com/documentation/data/ios/data_saving_data_objects.htm