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

Introduction

An immutable delta describing the differences between two binary values.

A diff of two binary values creates a binary delta. The binary delta can later apply to the first value to calculate the second value.

Since
5.9
Inheritance diagram for PTDiffusionBinaryDelta:

Class Methods

(instancetype) + NS_UNAVAILABLE
 

Properties

BOOL changes
 

Instance Methods

(instancetype) - NS_UNAVAILABLE
 
(BOOL) - isEqualToBinaryDelta:
 

Method Documentation

- (BOOL) isEqualToBinaryDelta: (nullable PTDiffusionBinaryDelta *)  binaryDelta

Compares the receiver to the given binary delta.

Parameters
binaryDeltaThe binary delta object with which to compare the receiver.
Returns
YES if the data in binary delta is equal to the contents of the receiver, otherwise NO.
Note
Two binary delta objects are equal if they carry the same information.
Since
5.9

Property Documentation

- (BOOL) changes
readnonatomicassign

Whether the two values used to create this instance are different.

Since
5.9