Text.m 433 B

123456789101112131415161718192021222324252627
  1. //
  2. // Text.m
  3. // SVGKit
  4. //
  5. // Created by adam on 22/05/2012.
  6. // Copyright (c) 2012 __MyCompanyName__. All rights reserved.
  7. //
  8. #import "Text.h"
  9. @implementation Text
  10. - (id)initWithValue:(NSString*) v
  11. {
  12. self = [super initType:DOMNodeType_TEXT_NODE name:@"#text" value:v];
  13. if (self) {
  14. }
  15. return self;
  16. }
  17. -(Text*) splitText:(unsigned long) offset;
  18. {
  19. NSAssert( FALSE, @"Not implemented yet" );
  20. return nil;
  21. }
  22. @end