ProtocolFoundation5.9.0
NSKeyedArchiverDelegate
The NSKeyedArchiverDelegate
protocol defines the optional methods implemented by delegates of NSKeyedArchiver
objects.
protocol NSKeyedArchiverDelegate : AnyObject
Requirements
func archiver(NSKeyedArchiver, didEncode: Any?
) Informs the delegate that a given object has been encoded.
func archiver(NSKeyedArchiver, willEncode: Any
) -> Any? Informs the delegate that
object
is about to be encoded.func archiver(NSKeyedArchiver, willReplace: Any?, withObject: Any?
) Informs the delegate that one given object is being substituted for another given object.
func archiverDidFinish(NSKeyedArchiver
) Notifies the delegate that encoding has finished.
func archiverWillFinish(NSKeyedArchiver
) Notifies the delegate that encoding is about to finish.