Update project headers and targets

This commit is contained in:
iska
2017-01-14 23:54:36 +01:00
parent ea63b38379
commit e5237a68c4
13 changed files with 30 additions and 20 deletions
+32
View File
@@ -0,0 +1,32 @@
//
// HTMLCharacterData.h
// HTMLKit
//
// Created by Iska on 26/11/16.
// Copyright © 2016 BrainCookie. All rights reserved.
//
#import "HTMLNode.h"
NS_ASSUME_NONNULL_BEGIN
/**
A HTML CharacterData
https://dom.spec.whatwg.org/#characterdata
*/
@interface HTMLCharacterData : HTMLNode
/** @brief The associated data string. */
@property (nonatomic, copy, readonly) NSString *data;
- (void)setData:(NSString *)data;
- (void)appendData:(NSString *)data;
- (void)insertData:(NSString *)data atOffset:(NSUInteger)offset;
- (void)deleteDataInRange:(NSRange)range;
- (void)replaceDataInRange:(NSRange)range withData:(NSString *)data;
- (NSString *)substringDataWithRange:(NSRange)range;
@end
NS_ASSUME_NONNULL_END