Giter Site home page Giter Site logo

hontd / dtcoretext Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cocoanetics/dtcoretext

0.0 1.0 0.0 6.59 MB

Methods to allow using HTML code with CoreText

License: BSD 2-Clause "Simplified" License

Objective-C 98.68% C 0.06% CSS 0.53% Ruby 0.74%

dtcoretext's Introduction

DTCoreText

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:

  1. Layouting - Interfacing with CoreText, generating attributed strings from HTML code
  2. User Interface - UI-related classes render these objects, specifically DTAttributedTextView, DTAttributedLabel and DTAttributedTextCell.

This is useful for drawing simple rich text like any HTML document without having to use a UIWebView. For text selection and highlighting (as you might need for an Editor or Reader) there is the commercial DTRichTextEditor component which can be purchased in the Cocoanetics Parts Store.

Documentation

Documentation can be browsed online or installed in your Xcode Organizer via the Atom Feed URL.

A Q&A answers some frequently asked questions.

Changelog: GitHub Releases

There is also a [Programming Guide](Documentation/Programming Guide-template.markdown) with a set of solutions to common problems.

Follow @cocoanetics on Twitter or subscribe to the Cocoanetics Blog for news and updates.

License

It is open source and covered by a standard 2-clause BSD license. That means you have to mention Cocoanetics as the original author of this code and reproduce the LICENSE text inside your app.

You can purchase a Non-Attribution-License for 75 Euros for not having to include the LICENSE text.

We also accept sponsorship for specific enhancements which you might need. Please contact us via email for inquiries.

dtcoretext's People

Contributors

odrobnik avatar amro avatar xuzhe avatar dhoerl avatar dhoerl18 avatar kzaragoza avatar soffes avatar kolyvan avatar briandoig avatar leehericks avatar johnezang avatar jstart avatar tonycn avatar logicality77 avatar gshaviv avatar vaseltior avatar batkuip avatar tomtaylor avatar sbeigel avatar rdougan avatar tillawy avatar farfromrefug avatar krzyzanowskim avatar janthiele avatar thillerson avatar bismark avatar futuretap avatar ha-nyung avatar flambert avatar briankenny avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.