Questions tagged [textkit]

Text Kit is, collectively, a set of classes and protocols in iOS 7's UIKit framework that provide high-quality typographical services.

Text Kit, introduced in iOS 7, is a set of classes and protocols providing high quality typographical services including text layout, storage and display. It also enables direct control of typographical features such as kerning, ligatures, line break behaviour and justification. Text-related UIKit classes in iOS 7 - namely UITextView, UITextField and UILabel - are based on the Text Kit layout engine.

Allowing fine-grained control of fonts and styles through a mechanism Apple calls "Dynamic Type", Text Kit brings a much more refined an detailed system for text-handling to iOS.

272 questions
-1
votes
1 answer

How to fit custom UIBezierPath into NSTextContainer

I'm using the method in this link: How to fit text in a circle in UILabel while (![circle containsPoint:p]) When I use the original method, [UIBezierPath bezierPathWithOvalInRect:r]; it works well. But when I draw my own UIBezierPath and substitute…
Reeve
  • 11
  • 3
-2
votes
2 answers

Using UITextView and TextKit to display .docx

I'm writing an app in which I'd like to be able to open, edit, and write .docx files. I've read documentation and tutorials on TextKit and understand how attributes can be applied to text and I know that .docx is basically a .zip containing some…
Slayter
  • 1,172
  • 1
  • 13
  • 26
1 2 3
18
19