Structures
The following structures are available globally.
-
An efficient variable-size FIFO queue of elements of type “Element.”
See moreDeclaration
Swift
public struct RVS_FIFOQueue<Element> : OLEB_Queueextension RVS_FIFOQueue: ExpressibleByArrayLiteralextension RVS_FIFOQueue: MutableCollection
-
This allows us to maintain collections of weak references.
USAGE:
Create instances of
RVS_WeakObjectReference, with the values being the objects that you want to aggregate weakly. Aggregate these instances.Each instance keeps a hash of the original object, even if that object is released, so we can use these as hashable keys or set members.
See moreNote
Remember to access the
valueproperty of each instance, instead of the instance, itself. The value will always be an optional, and may be nil.Declaration
Swift
public struct RVS_WeakObjectReference<T> : Equatable, Hashable where T : AnyObject -
This is a specialization for IPV4
See moreDeclaration
Swift
public struct RVS_IPAddressV4 : RVS_IPAddress -
This is a specialization for IPV6
See moreDeclaration
Swift
public struct RVS_IPAddressV6 : RVS_IPAddress
View on GitHub
Structures Reference