- 授权协议: Apache
- 开发语言: Objective-C
- 操作系统: OS X
- 软件首页: https://github.com/tracy-e/OCGumbo
- 软件文档: https://github.com/tracy-e/OCGumbo
- 官方下载: https://github.com/tracy-e/OCGumbo
软件介绍
OCGumbo是一个Objective-C写的HTML5解析引擎,基于Google gumbo开源项目。
OCGumbo除了基础的解析功能外,最大的特色是对增加了类似JQuery的查询功能。
示例代码:
OCGumboDocument *document = [[OCGumboDocument alloc] initWithHTMLString:htmlString]; OCGumboElement *root = document.rootElement; //document: do something with the document. //rootElement: do something with the html tree. NSLog(@"options: %@", document.Query(@"body").find(@"#select").find(@"option")); NSLog(@"title: %@", document.Query(@"title").text()); NSLog(@"attribute: %@", document.Query(@"select").first().attr(@"id")); NSLog(@"class: %@", document.Query(@"#select").parents(@".main")); NSLog(@"tag.class: %@", document.Query(@"div.theCls")); NSLog(@"tag#id : %@", document.Query(@"div#theId"));
细节决定交互设计的成败
张亮 / 2009-3 / 49.00元
《细节决定交互设计的成败》是一本非常实用的有关软件界面的交互设计和可用性设计方面知识的书籍,通过采用一问一答的形式,你将会有针对性地学习到一些能够很快应用在自己软件开发工作中的细节知识和诀窍。例如,如何减轻用户的等待感,如何预防和减少用户的使用错误等。另外,你会发现阅读《细节决定交互设计的成败》时会非常轻松和愉悦;这是由于《细节决定交互设计的成败》写作上的两个特点:第一,采用较多日常生活中的例子来......一起来看看 《细节决定交互设计的成败》 这本书的介绍吧!
