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