How to get NSAttributedString attributes?
I thought using enumerateAttributesInRange:NSMakeRange(0, str.length)and then storing all the attributes in NSMutableDictionaries, but I would like to know if there is a better way.
EDIT ------ My problem is what I have NSAttributedStringand I want to use this function in my attributes ...
CTFramesetterSuggestFrameSizeWithConstraints(framesetter,range, __ATTRIBUTES__, size , NULL);
source
share