Coder Social home page Coder Social logo

irtypography's Introduction

IRTypography

Tiny methods that should help when dealing with Core Text. Written when using Omni Frameworks for the iPad. Contains code that does these:

  • gives you a bounding UIBezierPath for a range in a large attributed string containing a particular attribute
  • lets you define transformers and hop between persisted and presentable states of attributed strings
  • makes working with text attachments, especially invoking bound actions to a range in the attributed string, a lot more easier
  • allows blocks-based CTLineRef and CTRunRef enumeration within a particular frame

This pile of code was written some six months ago against iOS 4.3. It might be naïve, or even relatively untested for cases that are not in the particular application against whose codebase the mini-framework is created. Some of them could even go away, if substitutes are found in colossal Omni frameworks.

This framework relies upon IRFoundations and the Omni frameworks. To create an app, simply link them all. To create some static library, use weak linking.

irtypography's People

Stargazers

pravin reddy avatar Michael Neuwert avatar Vijay Santhanam avatar

Watchers

James Cloos 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.