forked from SVGKit/SVGKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAppleSucksDOMImplementation.m
More file actions
33 lines (23 loc) · 1.24 KB
/
Copy pathAppleSucksDOMImplementation.m
File metadata and controls
33 lines (23 loc) · 1.24 KB
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
#import "AppleSucksDOMImplementation.h"
@implementation AppleSucksDOMImplementation
-(BOOL) hasFeature:(NSString*) feature version:(NSString*) version
{
NSAssert( FALSE, @"Apple has made a private class with the same name as this class - we have to rename it because ObjectiveC sucks, and Apple used a foolish name, so we CANNOT adhere to the spec now" );
NSAssert( FALSE, @"Not implemented yet" );
return FALSE;
}
// Introduced in DOM Level 2:
-(DocumentType*) createDocumentType:(NSString*) qualifiedName publicId:(NSString*) publicId systemId:(NSString*) systemId
{
NSAssert( FALSE, @"Apple has made a private class with the same name as this class - we have to rename it because ObjectiveC sucks, and Apple used a foolish name, so we CANNOT adhere to the spec now" );
NSAssert( FALSE, @"Not implemented yet" );
return nil;
}
// Introduced in DOM Level 2:
-(Document*) createDocument:(NSString*) namespaceURI qualifiedName:(NSString*) qualifiedName doctype:(DocumentType*) doctype
{
NSAssert( FALSE, @"Apple has made a private class with the same name as this class - we have to rename it because ObjectiveC sucks, and Apple used a foolish name, so we CANNOT adhere to the spec now" );
NSAssert( FALSE, @"Not implemented yet" );
return nil;
}
@end