Get Model Info
July 5, 2016
Get your model info (name, ID, etc.) and use it to analyze your scans.
__weak typeof(&*self)weakSelf = self; [[CPScioCloud sharedInstance] getModelsWithCompletion:^(BOOL success, NSArray *models, NSError *error) { if (success) { [weakSelf modelsScreenWithModels:models]; return; } // Error dispatch_async(dispatch_get_main_queue(), ^{ [weakSelf alertWithTitle:error.userInfo[NSLocalizedDescriptionKey] mes-sage:error.userInfo[NSLocalizedFailureReasonErrorKey]]; }); }];
Leave a Reply
You must be logged in to post a comment.