开发者

How to use CTTypesetterSuggestClusterBreak in Core Text

I am having trouble in using CTTypesetterSuggest开发者_开发技巧ClusterBreak function of CTTypeSetterRef class. I want to use this method to get closest word boundry near an index. I am having difficult in the implementationof this method, i.e how and where this method must be used. I have been banging my head over this but with no success yet. If anyone can help me in using this method I would be very greatful.

Thanx in advance


I'm not sure CoreText is appropriate for this task; it sounds like you should investigate CFStringTokenizer instead.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜