My favorites | Sign in
Project Home Downloads Wiki Issues Source
Repository:
Checkout   Browse   Changes   Clones  
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
#import <Foundation/NSTextCheckingResult.h>
#import <Foundation/NSRaise.h>
#import <Foundation/NSDictionary.h>

@implementation NSTextCheckingResult

-initWithResultType:(NSTextCheckingType)resultType range:(NSRange)range properties:(NSDictionary *)properties {
_resultType=resultType;
_range=range;
_properties=[properties copy];
return self;
}

-initWithResultType:(NSTextCheckingType)resultType range:(NSRange)range property:property name:(NSString *)name {
NSDictionary *properties=[NSDictionary dictionaryWithObject:property forKey:name];

return [self initWithResultType:resultType range:range properties:properties];
}

-(void)dealloc {
[_properties release];
[super dealloc];
}

+(NSTextCheckingResult *)addressCheckingResultWithRange:(NSRange)range components:(NSDictionary *)components {
NSUnimplementedMethod();
return nil;
}

+(NSTextCheckingResult *)correctionCheckingResultWithRange:(NSRange)range replacementString:(NSString *)replacement {
NSUnimplementedMethod();
return nil;
}

+(NSTextCheckingResult *)dashCheckingResultWithRange:(NSRange)range replacementString:(NSString *)replacement {
NSUnimplementedMethod();
return nil;
}

+(NSTextCheckingResult *)dateCheckingResultWithRange:(NSRange)range date:(NSDate *)date {
NSUnimplementedMethod();
return nil;
}

+(NSTextCheckingResult *)dateCheckingResultWithRange:(NSRange)range date:(NSDate *)date timeZone:(NSTimeZone *)timeZone duration:(NSTimeInterval)duration {
NSUnimplementedMethod();
return nil;
}

+(NSTextCheckingResult *)grammarCheckingResultWithRange:(NSRange)range details:(NSArray *)details {
NSUnimplementedMethod();
return nil;
}

+(NSTextCheckingResult *)linkCheckingResultWithRange:(NSRange)range URL:(NSURL *)url {
NSUnimplementedMethod();
return nil;
}

+(NSTextCheckingResult *)orthographyCheckingResultWithRange:(NSRange)range orthography:(NSOrthography *)orthography {
NSUnimplementedMethod();
return nil;
}

+(NSTextCheckingResult *)quoteCheckingResultWithRange:(NSRange)range replacementString:(NSString *)replacement {
NSUnimplementedMethod();
return nil;
}

+(NSTextCheckingResult *)replacementCheckingResultWithRange:(NSRange)range replacementString:(NSString *)replacement {
NSUnimplementedMethod();
return nil;
}

+(NSTextCheckingResult *)spellCheckingResultWithRange:(NSRange)range {
return [[[self alloc] initWithResultType:NSTextCheckingTypeSpelling range:range properties:nil] autorelease];
}

-(NSDictionary *)addressComponents {
NSUnimplementedMethod();
return nil;
}

-(NSDate *)date {
NSUnimplementedMethod();
return nil;
}

-(NSTimeInterval)duration {
NSUnimplementedMethod();
return 0;
}

-(NSArray *)grammarDetails {
NSUnimplementedMethod();
return nil;
}

-(NSOrthography *)orthography {
NSUnimplementedMethod();
return nil;
}

-(NSRange)range {
return _range;
}

-(NSString *)replacementString {
NSUnimplementedMethod();
return nil;
}

-(NSTextCheckingType)resultType {
return _resultType;
}

-(NSTimeZone *)timeZone {
NSUnimplementedMethod();
return nil;
}

-(NSURL *)URL {
NSUnimplementedMethod();
return nil;
}

@end

Change log

88bb6484b6b6 by Tilo Prütz <tilo.pru...@infopark.de> on Jan 13, 2012   Diff
removed some trailing whitespaces
Go to: 
Project members, sign in to write a code review

Older revisions

3ccafaadf73c by Tilo Prütz <tilo.pru...@infopark.de> on Jan 10, 2012   Diff
[PATCH] Prepare compile CF+F under
Linux/GCC4.6 without warnings

That is with:
CFLAGS += -Wall -Werror -std=gnu99
...
a742f3612454 by Christopher Lloyd <c...@objc.net> on Sep 6, 2011   Diff
wire spell engine into textview
dcf86a985be1 by Christopher Lloyd <c...@objc.net> on Aug 21, 2011   Diff
Rough in some spell checker classes
and clean up warnings
All revisions of this file

File info

Size: 3209 bytes, 127 lines
Powered by Google Project Hosting