blob: fc36cf21c6607d68da83b64657098b03a05d9451 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
{ Parsed from Foundation.framework NSSortDescriptor.h }
{$ifdef TYPES}
{$ifndef NSSORTDESCRIPTOR_PAS_T}
{$define NSSORTDESCRIPTOR_PAS_T}
{$endif}
{$endif}
{$ifdef RECORDS}
{$ifndef NSSORTDESCRIPTOR_PAS_R}
{$define NSSORTDESCRIPTOR_PAS_R}
{$endif}
{$endif}
{$ifdef FUNCTIONS}
{$ifndef NSSORTDESCRIPTOR_PAS_F}
{$define NSSORTDESCRIPTOR_PAS_F}
{$endif}
{$endif}
{$ifdef EXTERNAL_SYMBOLS}
{$ifndef NSSORTDESCRIPTOR_PAS_S}
{$define NSSORTDESCRIPTOR_PAS_S}
{$endif}
{$endif}
{$ifdef FORWARD}
NSSortDescriptor = objcclass;
NSSortDescriptorPointer = ^NSSortDescriptor;
NSSortDescriptorPtr = NSSortDescriptorPointer;
{$endif}
{$ifdef CLASSES}
{$ifndef NSSORTDESCRIPTOR_PAS_C}
{$define NSSORTDESCRIPTOR_PAS_C}
{ NSSortDescriptor }
NSSortDescriptor = objcclass external (NSObject, NSCodingProtocol, NSCopyingProtocol)
private
_sortDescriptorFlags: NSUInteger;
_key: NSString;
_selector: SEL;
_selectorOrBlock: id;
public
class function sortDescriptorWithKey_ascending(key_: NSString; ascending_: Boolean): id; message 'sortDescriptorWithKey:ascending:';
class function sortDescriptorWithKey_ascending_selector(key_: NSString; ascending_: Boolean; selector_: SEL): id; message 'sortDescriptorWithKey:ascending:selector:';
function initWithKey_ascending(key_: NSString; ascending_: Boolean): id; message 'initWithKey:ascending:';
function initWithKey_ascending_selector(key_: NSString; ascending_: Boolean; selector_: SEL): id; message 'initWithKey:ascending:selector:';
function key: NSString; message 'key';
function ascending: Boolean; message 'ascending';
function selector: SEL; message 'selector';
function compareObject_toObject(object_: id; object_1: id): NSComparisonResult; message 'compareObject:toObject:';
function reversedSortDescriptor: id; message 'reversedSortDescriptor';
{ Adopted Protocols }
procedure encodeWithCoder(aCoder: NSCoder);
function initWithCoder(aDecoder: NSCoder): id;
function copyWithZone(zone_: NSZonePtr): id;
end;
{ NSSortDescriptorSortingCategory }
NSSortDescriptorSortingCategory = objccategory external (NSSet)
function sortedArrayUsingDescriptors(sortDescriptors: NSArray): NSArray; message 'sortedArrayUsingDescriptors:';
end;
{ NSSortDescriptorSorting_NSArrayCategory }
NSSortDescriptorSorting_NSArrayCategory = objccategory external name 'NSSortDescriptorSorting' (NSArray)
function sortedArrayUsingDescriptors(sortDescriptors: NSArray): NSArray; message 'sortedArrayUsingDescriptors:';
end;
{ NSSortDescriptorSorting_NSMutableArrayCategory }
NSSortDescriptorSorting_NSMutableArrayCategory = objccategory external name 'NSSortDescriptorSorting' (NSMutableArray)
procedure sortUsingDescriptors(sortDescriptors: NSArray); message 'sortUsingDescriptors:';
end;
{$endif}
{$endif}
|