CLUWritable
@protocol CLUWritable <NSObject>
CLUWritable
protocol describe writers (like CLUDataWriter
or CLUVideoWriter
) which needs to actually write new data to specific file (could be text file, video file etc.)
-
Get writer status, whether Writer is ready to write new data or not
Declaration
Objective-C
- (BOOL)isReadyForWriting;
Swift
func isReadyForWriting() -> Bool
Return Value
BOOL value which specify whether Writer is ready to write new data or not
-
Finish actual writing with all necessary cleanup
Declaration
Objective-C
- (void)finishWriting;
Swift
func finishWriting()
-
Start actual writing with all necessary preparations
Declaration
Objective-C
- (void)startWriting;
Swift
func startWriting()