{"id":7573,"date":"2015-08-15T04:20:23","date_gmt":"2015-08-15T04:20:23","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2015\/08\/15\/cocoanetics-dtcoretext\/"},"modified":"2015-08-15T04:20:23","modified_gmt":"2015-08-15T04:20:23","slug":"cocoanetics-dtcoretext","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2015\/08\/15\/cocoanetics-dtcoretext\/","title":{"rendered":"Cocoanetics\/DTCoreText"},"content":{"rendered":"<p>This project aims to duplicate the methods present on Mac OSX which allow creation of <code>NSAttributedString<\/code> from HTML code on iOS.<\/p>\n<p>The project covers two broad areas:<\/p>\n<ol>\n<li><strong>Layouting<\/strong> &#8211; Interfacing with CoreText, generating attributed strings from HTML code<\/li>\n<li><strong>User Interface<\/strong> &#8211; UI-related classes render these objects, specifically <code>DTAttributedTextView<\/code>, <code>DTAttributedLabel<\/code> and <code>DTAttributedTextCell<\/code>.<\/li>\n<\/ol>\n<p>This is useful for drawing simple rich text like any HTML document without having to use a <code>UIWebView<\/code>. For text selection and highlighting (as you might need for an Editor or Reader) there is the commercial <strong>DTRichTextEditor<\/strong> component which can be purchased in the Cocoanetics Parts Store.<\/p>\n<h2>Documentation<\/h2>\n<p>Documentation can be browsed online or installed in your Xcode Organizer via the Atom Feed URL.<\/p>\n<p>A Q&amp;A answers some frequently asked questions.<\/p>\n<p>Changelog: GitHub Releases<\/p>\n<p>There is also a [Programming Guide](Documentation\/Programming Guide-template.markdown) with a set of solutions to common problems.<\/p>\n<p>Follow @cocoanetics on Twitter or subscribe to the Cocoanetics Blog for news and updates.<\/p>\n<h2>License<\/h2>\n<p>It is open source and covered by a standard 2-clause BSD license. That means you have to mention <em>Cocoanetics<\/em> as the original author of this code and reproduce the LICENSE text inside your app.<\/p>\n<p>You can purchase a Non-Attribution-License for 75 Euros for not having to include the LICENSE text.<\/p>\n<p>We also accept sponsorship for specific enhancements which you might need. Please contact us via email for inquiries.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This project aims to duplicate the methods present on Mac OSX which allow creation of NSAttributedString from HTML code on iOS. The project covers two broad areas: Layouting &#8211; Interfacing with CoreText, generating attributed strings from HTML code User Interface &#8211; UI-related classes render these objects, specifically DTAttributedTextView, DTAttributedLabel and DTAttributedTextCell. This is useful for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7573","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7573","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7573"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7573\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7573"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7573"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7573"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}