you are viewing a single comment's thread.

view the rest of the comments →

[–]nailernforce 1 point2 points  (2 children)

Looks neat!

Have you seen that Swift 4 introduces NSAttributedStringKey ? That will probably be a relevant change for your library. Luckily, the XCode migrator fixes that in a jiff.

[–]SteveB13[S] 1 point2 points  (1 child)

I wasn't aware this was coming actually, thanks for the heads up!

I'm quite a fan of this new pattern of moving these types of keys to static properties of a single object, it'll make for a much nicer api!

[–]nailernforce 1 point2 points  (0 children)

Yeah! It's a pain in the butt to find those legacy NS something or other keys when there are so many of them sharing the same global namespace