The Wayback Machine - https://web.archive.org/web/20200712071243/https://github.com/topics/nsattributedstring
Skip to content
#

nsattributedstring

Here are 55 public repositories matching this topic...

lhp3851
lhp3851 commented Mar 22, 2019

writingDirection这里原文[https://developer.apple.com/documentation/foundation/nsattributedstring/key/1524497-writingdirection]描述:

The value of this attribute is an NSArray object containing NSNumber objects representing the nested levels of writing direction overrides, in order from outermost to innermost.

这里应该是一个NSNumber的数组,代码修改如下:

let dict = [NSAttributedStringKey.writingDirection:[index]]

Improve this page

Add a description, image, and links to the nsattributedstring topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the nsattributedstring topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.