RSDObjectProtocol
public protocol RSDObjectProtocol
Light-weight protocol for handling generic equality without requiring a class or
struct to implement all of the NSObjectProtocol.
-
Equality test that does not require knowing the cast of the object being tested.
Declaration
Swift
func isEqual(_ object: Any?) -> BoolParameters
objectThe object against which to test equality.
Return Value
trueif the objects are equal. -
The hash value.
Hash values are not guaranteed to be equal across different executions of your program. Do not save hash values to use during a future execution.
Declaration
Swift
var hashValue: Int
View on GitHub
RSDObjectProtocol Protocol Reference