diff --git a/HTMLKit.xcodeproj/project.pbxproj b/HTMLKit.xcodeproj/project.pbxproj index dfd0217..f7dbba3 100644 --- a/HTMLKit.xcodeproj/project.pbxproj +++ b/HTMLKit.xcodeproj/project.pbxproj @@ -118,6 +118,7 @@ 6234584D1A9D2FA4009BD491 /* HTMLNode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HTMLNode.m; sourceTree = ""; }; 62362A3A1A9FA70400301989 /* HTMLText.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HTMLText.h; sourceTree = ""; }; 62362A3B1A9FA70400301989 /* HTMLText.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HTMLText.m; sourceTree = ""; }; + 62362A3F1A9FDE8A00301989 /* HTMLNodes.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = HTMLNodes.h; sourceTree = ""; }; 6238578F1A9E772B003A45D9 /* HTMLDocument.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HTMLDocument.h; sourceTree = ""; }; 623857901A9E772B003A45D9 /* HTMLDocument.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HTMLDocument.m; sourceTree = ""; }; 623857941A9E8606003A45D9 /* HTMLDocumentType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HTMLDocumentType.h; sourceTree = ""; }; @@ -270,6 +271,7 @@ 628B7CE61A080E1000602C87 /* HTMLNamespaces.h */, 6223211D1A969B9300BACED5 /* HTMLElementTypes.h */, 6279F87119E17DC700F12EE5 /* HTMLParserInsertionModes.h */, + 62362A3F1A9FDE8A00301989 /* HTMLNodes.h */, 6234584C1A9D2FA4009BD491 /* HTMLNode.h */, 6234584D1A9D2FA4009BD491 /* HTMLNode.m */, 6279F87219E1808D00F12EE5 /* HTMLElement.h */, diff --git a/HTMLKit/HTMLNode.h b/HTMLKit/HTMLNode.h index 7d91887..57cc975 100644 --- a/HTMLKit/HTMLNode.h +++ b/HTMLKit/HTMLNode.h @@ -43,9 +43,9 @@ typedef NS_ENUM(short, HTMLNodeType) @property (nonatomic, strong, readonly) NSOrderedSet *childNodes; -@property (nonatomic, strong, readonly) HTMLNode *firstNode; +@property (nonatomic, strong, readonly) HTMLNode *firstChiledNode; -@property (nonatomic, strong, readonly) HTMLNode *lastNode; +@property (nonatomic, strong, readonly) HTMLNode *lastChildNode; @property (nonatomic, strong, readonly) HTMLNode *previousSibling; diff --git a/HTMLKit/HTMLNodes.h b/HTMLKit/HTMLNodes.h new file mode 100644 index 0000000..e2bb0ff --- /dev/null +++ b/HTMLKit/HTMLNodes.h @@ -0,0 +1,14 @@ +// +// HTMLNodes.h +// HTMLKit +// +// Created by Iska on 27/02/15. +// Copyright (c) 2015 BrainCookie. All rights reserved. +// + +#import "HTMLNode.h" +#import "HTMLDocument.h" +#import "HTMLDocumentType.h" +#import "HTMLElement.h" +#import "HTMLComment.h" +#import "HTMLText.h"