Edit

Share via


NSComparator Delegate

Definition

A delegate that defines the comparison function to be used with functins such as Sort(NSComparator).

public delegate Foundation.NSComparisonResult NSComparator(NSObject obj1, NSObject obj2);
type NSComparator = delegate of NSObject * NSObject -> NSComparisonResult

Parameters

obj1
NSObject
obj2
NSObject

Return Value

Applies to