A WHATWG-compliant Objective-C framework for parsing, manipulating, and querying HTML documents on iOS and OSX.
HTMLKit is an Objective-C framework that provides WHATWG specification-compliant HTML parsing and DOM manipulation for iOS and OSX applications. It allows developers to parse real-world HTML like a browser, navigate and modify the document tree, and query elements using CSS3 selectors, all within native Apple environments.
iOS and OSX developers who need to process, manipulate, or generate HTML content directly within their Objective-C or Swift applications, such as those building web scrapers, document editors, or rendering engines.
Developers choose HTMLKit for its strict WHATWG compliance, ensuring consistent HTML parsing with browsers, and its rich, type-safe API for DOM manipulation and CSS selector queries without relying on WebKit or JavaScript.
An Objective-C framework for your everyday HTML needs.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Parses HTML according to the WHATWG specification, matching browser behavior and passing HTML5Lib tokenizer and tree construction tests.
Provides full DOM manipulation with validation, node navigation, and range support, enabling complex document editing similar to browser APIs.
Supports all CSS3 selectors except pseudo-elements, with a type-safe API for programmatic creation without string parsing.
Allows disabling DOM validation via a compiler constant for a 20-30% performance boost, as noted in the README.
Limited to iOS and OSX, making it unsuitable for cross-platform projects or server-side use outside Apple ecosystems.
Lacks scripting capabilities, which limits handling of dynamic HTML content that relies on JavaScript execution.
Primarily an Objective-C framework, which may require bridging or feel outdated for modern Swift-only development teams.