iOS SDK Samples - Blueprint Operations
// record is the object newRecord()
// transistion is the object transistionDetails of blueprint
/* parameters:
- transitionState : Details of the transition to which the record has to be moved */
$record.moveTo(transitionState: transition) { result in
switch result
{
case .success(let response) :
print ("ResponseJSON : \( response.responseJSON )")
case .failure(let error) :
print ( "Throws exception : \(error)" )
}