Protocols
The following protocols are available globally.
-
CLUInfoModuleprotocol describe info modules (like Device Info module or Exception module), static one-time modules which needs to write their data only once during recording.See moreWarning
Every info modules have to implement this protocol to be able to work normally inside the systemDeclaration
Objective-C
@protocol CLUInfoModule <NSObject>Swift
protocol CLUInfoModule : NSObjectProtocol
-
See moreCLUInteractionObserverDelegateprotocol describe delegate methods which will handle all touches events sent by custom gesture recognizer (seeCLUGeneralGestureRecognizer)Declaration
Objective-C
@protocol CLUInteractionObserverDelegate <NSObject>Swift
protocol CLUInteractionObserverDelegate : NSObjectProtocol
-
See moreCLUNetworkObserverDelegateprotocol describe delegate methods which will handle all network operations events sent by customNSURLProtocol(seeCLUURLProtocolandCLUURLProtocolConfiguration)Declaration
Objective-C
@protocol CLUNetworkObserverDelegate <NSObject>Swift
protocol CLUNetworkObserverDelegate : NSObjectProtocol
-
CLURecordableModuleprotocol describe recordable module (like Video, View Structure, Network modules etc) which needs to track or inspect some specific information over time (like view structure for example) and record this information with specific timestamp using WritersSee moreWarning
Every recordable modules have to implement this protocol to be able to work normally inside the systemDeclaration
Objective-C
@protocol CLURecordableModule <NSObject>Swift
protocol CLURecordableModule : NSObjectProtocol
-
CLUViewRecordablePropertiesprotocol describe common interface for UIView’s (and all subclasses) properties parsing into dictionary which will be used in JSON encoding to the specific file.See moreWarning
Needs to be implemented in all custom UIView related categories with properties parsing methods (seeUIView (CLUViewRecordableAdditions),UILabel (CLUViewRecordableAdditions),UIImageView (CLUViewRecordableAdditions),UITextField (CLUViewRecordableAdditions)for exmaples)Declaration
Objective-C
@protocol CLUViewRecordableProperties <NSObject>Swift
protocol CLUViewRecordableProperties : NSObjectProtocol
-
See moreCLUWritableprotocol describe writers (likeCLUDataWriterorCLUVideoWriter) which needs to actually write new data to specific file (could be text file, video file etc.)Declaration
Objective-C
@protocol CLUWritable <NSObject>Swift
protocol CLUWritable : NSObjectProtocol
Protocols Reference