PTDiffViewController
@interface PTDiffViewController : UIViewController
The PTDiffViewController class provides functionality to produce a document representing the visual difference between two documents. Instances of this class must be embedded inside a UINavigationController.
-
Initializes a new
PTDiffViewControllerinstance with two documents to compare and their display color.Declaration
Parameters
firstDocumentThe first
PTPDFDocinstance to compare.secondDocumentThe second
PTPDFDocinstance to compare.firstDocumentColorThe display color for
firstDocument.secondDocumentColorThe display color for
secondDocument.Return Value
an initialized
PTDiffViewController. -
An object conforming to the PTdiffViewControllerDelegate protocol.
Declaration
Objective-C
@property (nonatomic, weak, nullable) id<PTDiffViewControllerDelegate> delegate; -
The first document to compare.
Declaration
Objective-C
@property (nonatomic, strong, nullable) PTPDFDoc *firstDocument; -
The second document to compare.
Declaration
Objective-C
@property (nonatomic, strong, nullable) PTPDFDoc *secondDocument; -
The display color to use for the first document.
Declaration
Objective-C
@property (nonatomic, strong, nullable) UIColor *firstDocumentColor; -
The display color to use for the second document.
Declaration
Objective-C
@property (nonatomic, strong, nullable) UIColor *secondDocumentColor; -
The blend mode used for comparing documents.
Declaration
Objective-C
@property (nonatomic) PTBlendMode blendMode; -
Undocumented
Declaration
Objective-C
- (instancetype)initWithCoder:(NSCoder *)aDecoder NS_UNAVAILABLE;
PTDiffViewController Class Reference