ObjFW
Instance Methods | List of all members
<OFComparing> Protocol Reference

A protocol for comparing objects. More...

#import <ObjFW/OFObject.h>

Inheritance diagram for <OFComparing>:
Inheritance graph
[legend]

Instance Methods

(of_comparison_result_t- compare:
 Compares the object with another object. More...
 

Detailed Description

A protocol for comparing objects.

This protocol is implemented by objects that can be compared.

Method Documentation

◆ compare:

- (of_comparison_result_t) compare: (id< OFComparing >)  object

Compares the object with another object.

Parameters
objectAn object to compare the object to
Returns
The result of the comparison

The documentation for this protocol was generated from the following file: