一个坑:
This dictionary contains the attribute keys (and corresponding values) to apply to newly typed text. When the text view’s selection changes, the contents of the dictionary are cleared automatically.
人生建议不要和 TextKit 搏斗,实现富文本编辑器就是个巨坑……
一个坑:
This dictionary contains the attribute keys (and corresponding values) to apply to newly typed text. When the text view’s selection changes, the contents of the dictionary are cleared automatically.
人生建议不要和 TextKit 搏斗,实现富文本编辑器就是个巨坑……