Top "Textkit" questions

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

iOS Drawing text in the centre of shapes

I'm trying to draw text in the centre of shapes in iOS, an example would be Microsoft Office's insert shape …

ios core-graphics core-text textkit
iOS NSAttributedString to HTML

I have an NSAttributed string (coming from HTML) that I set for a UITextView. - (void)setHtml:(NSString *)html { NSData *…

ios objective-c uitextview nsattributedstring textkit
How to wrap text around attachments using iOS7 Text Kit?

I am using the new Text Kit API to add attachments to some attributed text: // create an attachment for each …

ios objective-c uikit ios7 textkit
Confused by NSStringDrawingOptions item meaning

iOS7 and later, we can use - (void)drawWithRect:(CGRect)rect options:(NSStringDrawingOptions)options attributes:(NSDictionary *)attributes context:(NSStringDrawingContext *)context …

ios nsstring nsattributedstring textkit