NSKeyedArchiverDelegate class interface

NSKeyedArchiverDelegate

Constructors

NSKeyedArchiverDelegate.castFrom(ObjCObjectBase other)
Constructs a NSKeyedArchiverDelegate that points to the same underlying object as other.
NSKeyedArchiverDelegate.castFromPointer(Pointer<ObjCObject> other, {bool retain = false, bool release = false})
Constructs a NSKeyedArchiverDelegate that wraps the given raw object pointer.

Properties

hashCode → int
The hash code for this object.
no setterinherited
ref → ObjCObjectRef
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

$protocol → Protocol
Returns the objc.Protocol object for this protocol.
no setter
archiver_didEncodeObject_ → ObjCProtocolListenableMethod<void Function(NSKeyedArchiver, ObjCObjectBase?)>
archiver:didEncodeObject:
final
archiver_willEncodeObject_ → ObjCProtocolMethod<ObjCObjectBase? Function(NSKeyedArchiver, ObjCObjectBase)>
archiver:willEncodeObject:
final
archiver_willReplaceObject_withObject_ → ObjCProtocolListenableMethod<void Function(NSKeyedArchiver, ObjCObjectBase?, ObjCObjectBase?)>
archiver:willReplaceObject:withObject:
final
archiverDidFinish_ → ObjCProtocolListenableMethod<void Function(NSKeyedArchiver)>
archiverDidFinish:
final
archiverWillFinish_ → ObjCProtocolListenableMethod<void Function(NSKeyedArchiver)>
archiverWillFinish:
final

Static Methods

addToBuilder(ObjCProtocolBuilder builder, {ObjCObjectBase? archiver_willEncodeObject_(NSKeyedArchiver, ObjCObjectBase)?, void archiver_didEncodeObject_(NSKeyedArchiver, ObjCObjectBase?)?, void archiver_willReplaceObject_withObject_(NSKeyedArchiver, ObjCObjectBase?, ObjCObjectBase?)?, void archiverWillFinish_(NSKeyedArchiver)?, void archiverDidFinish_(NSKeyedArchiver)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSKeyedArchiverDelegate protocol to an existing objc.ObjCProtocolBuilder.
addToBuilderAsBlocking(ObjCProtocolBuilder builder, {ObjCObjectBase? archiver_willEncodeObject_(NSKeyedArchiver, ObjCObjectBase)?, void archiver_didEncodeObject_(NSKeyedArchiver, ObjCObjectBase?)?, void archiver_willReplaceObject_withObject_(NSKeyedArchiver, ObjCObjectBase?, ObjCObjectBase?)?, void archiverWillFinish_(NSKeyedArchiver)?, void archiverDidFinish_(NSKeyedArchiver)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSKeyedArchiverDelegate protocol to an existing objc.ObjCProtocolBuilder. All methods that can be implemented as blocking listeners will be.
addToBuilderAsListener(ObjCProtocolBuilder builder, {ObjCObjectBase? archiver_willEncodeObject_(NSKeyedArchiver, ObjCObjectBase)?, void archiver_didEncodeObject_(NSKeyedArchiver, ObjCObjectBase?)?, void archiver_willReplaceObject_withObject_(NSKeyedArchiver, ObjCObjectBase?, ObjCObjectBase?)?, void archiverWillFinish_(NSKeyedArchiver)?, void archiverDidFinish_(NSKeyedArchiver)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSKeyedArchiverDelegate protocol to an existing objc.ObjCProtocolBuilder. All methods that can be implemented as listeners will be.
conformsTo(ObjCObjectBase obj) → bool
Returns whether obj is an instance of NSKeyedArchiverDelegate.
implement({ObjCObjectBase? archiver_willEncodeObject_(NSKeyedArchiver, ObjCObjectBase)?, void archiver_didEncodeObject_(NSKeyedArchiver, ObjCObjectBase?)?, void archiver_willReplaceObject_withObject_(NSKeyedArchiver, ObjCObjectBase?, ObjCObjectBase?)?, void archiverWillFinish_(NSKeyedArchiver)?, void archiverDidFinish_(NSKeyedArchiver)?, bool $keepIsolateAlive = true}) → NSKeyedArchiverDelegate
Builds an object that implements the NSKeyedArchiverDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly.
implementAsBlocking({ObjCObjectBase? archiver_willEncodeObject_(NSKeyedArchiver, ObjCObjectBase)?, void archiver_didEncodeObject_(NSKeyedArchiver, ObjCObjectBase?)?, void archiver_willReplaceObject_withObject_(NSKeyedArchiver, ObjCObjectBase?, ObjCObjectBase?)?, void archiverWillFinish_(NSKeyedArchiver)?, void archiverDidFinish_(NSKeyedArchiver)?, bool $keepIsolateAlive = true}) → NSKeyedArchiverDelegate
Builds an object that implements the NSKeyedArchiverDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly. All methods that can be implemented as blocking listeners will be.
implementAsListener({ObjCObjectBase? archiver_willEncodeObject_(NSKeyedArchiver, ObjCObjectBase)?, void archiver_didEncodeObject_(NSKeyedArchiver, ObjCObjectBase?)?, void archiver_willReplaceObject_withObject_(NSKeyedArchiver, ObjCObjectBase?, ObjCObjectBase?)?, void archiverWillFinish_(NSKeyedArchiver)?, void archiverDidFinish_(NSKeyedArchiver)?, bool $keepIsolateAlive = true}) → NSKeyedArchiverDelegate
Builds an object that implements the NSKeyedArchiverDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly. All methods that can be implemented as listeners will be.