English 中文(简体)
精髓 观点与评论
原标题:Rich Text View like Instagram Comment

我愿对“Inf”中所体现的丰富格式案文表达看法。 下面是屏幕。

具体而言,我的目标是:

  1. Words at different positions of the same text view may have different font sizes, font colors and font styles(bold, italic, etc).
  2. Touch events (long press, touch down, etc) can be detected in the delegate callbacks. Information (which word is touched, whether it s a long press or a touch down, etc) can be gathered in such callback methods.

重要框架 有320个问题没有解决。 小型独立图书馆非常优先。 如果获得短短短短短短短短短短短短短短短短短短短短短短短短时间来总结这些短短短短短短短短短短短短短短短时间,也会成为科索沃。

任何建议都受到高度赞赏。

“entergraph

最佳回答

最后,找到了一种理想的开放源解决方案(SOS 5和OS 6):能够有丰富形式和接触处理力的OHAttributedLabel。

https://github.com/AliSoftware/OHAttributedLabel

问题回答

美国航天局为你提供这方面的服务。 如果你能够使用Erica Sadun提供的5台开发商 co,那么在NSMutable周围就有一个 wrap子。 辅助工具使案文一成不变,改变属性。

Here是Erica s githuib的来源





相关问题
How to change out-of-focus text selection color in Xcode?

Okay, I ll bite. I ve got really pleasant code/window colors set up in Xcode. Ordinarily, my selection color is very visible. When I am doing a project search and iterating through the results, ...

Iphone NSTimer Issue

Hi I am new to objective c. I am trying to make an app for iphone. I have a button on my view, and the click on which the function playSound is called. This is working properly. It does plays the ...

Include a .txt file in a .h in C++?

I have a number of places where I need to re-use some template code. Many classes need these items In a .h could I do something like: #include <xxx.txt> and place all of this code in the ....

Iterating over string/strlen with umlauted characters

This is a follow-up to my previous question . I succeeded in implementing the algorithm for checking umlauted characters. The next problem comes from iterating over all characters in a string. I do ...

Xcode open two editor windows with same file

Is it possible to open the same file in two separate windows in Xcode. I can open a file in one window and the same file in the main Xcode editor window, but I wanted two separate fulltime editor ...

Forcing code signing refresh in Xcode

In our environment, we share resources across multiple projects and platforms. When building for iPhone, only a subset of those resources are needed. Since that subset is still considerable, we have ...

热门标签