How to extract text string from a CTlineRef ? i know for example that i can do CTLineGetStringRange(aLine) and i have the AttributedString (ie: CFAt ...
How to extract text string from a CTlineRef ? i know for example that i can do CTLineGetStringRange(aLine) and i have the AttributedString (ie: CFAt ...
I'm trying to solve a hairy problem with UILabel, and I've gotten most of it figured out, except for one thing: I'm having a challenge understanding w ...
I'm just getting started with programming GUIs on apple (so far the framework seems fine, but I find the documentation far less informative than other ...
Is this possible? Basically, I have a bunch of NSAttributedString objects and corresponding CTLine objects. I want to get the image bounds before the ...
Given an index for current character, how can I determine the number of line that the selected character is at? Given a CTLine how can I determin ...
I am trying to get the index of the closest character to a point. The code below works perfectly fine as ling as my text alignment is set to left, as ...