Diffusion Apple API  6.2.0
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Functions Variables Properties Pages
Class Methods | Instance Methods | List of all members
PTDiffusionRecordV2Delta Class Reference

Introduction

A description of the differences between two record values.

Since
6.0.2
Inheritance diagram for PTDiffusionRecordV2Delta:

Class Methods

(instancetype) + NS_UNAVAILABLE
 

Instance Methods

(instancetype) - NS_UNAVAILABLE
 
(nullable NSArray
< PTDiffusionRecordV2DeltaChange * > *) 
- changesWithSchema:error:
 
(BOOL) - isEqualToRecordV2Delta:
 

Method Documentation

- (nullable NSArray<PTDiffusionRecordV2DeltaChange *> *) changesWithSchema: (PTDiffusionRecordV2Schema *)  schema
error: (NSError **)  error 

Returns a list of the changes represented by the delta with reference to the specified schema.

The schema supplied must comply with the data format of the delta. No validation takes place, so if the schema does not match the data then the results may be unpredictable.

Parameters
schemaThe schema to use for interpreting this delta.
Since
6.0.2
- (BOOL) isEqualToRecordV2Delta: (nullable PTDiffusionRecordV2Delta *)  delta

Compares the receiver to the given recordV2 delta.

Parameters
deltaThe object with which to compare the receiver.
Returns
YES if the delta is equal to the contents of the receiver, otherwise NO.
Since
6.0.2