Skip to content

Updated attributeName at SwiftTranslator for Swift 4.2 notation#12

Open
tfmart wants to merge 1 commit intoandresinaka:masterfrom
tfmart:swift-nsattributekey-fix
Open

Updated attributeName at SwiftTranslator for Swift 4.2 notation#12
tfmart wants to merge 1 commit intoandresinaka:masterfrom
tfmart:swift-nsattributekey-fix

Conversation

@tfmart
Copy link

@tfmart tfmart commented May 18, 2020

  • Updated attributeName value from NSAttributedStringKey to NSAttributedString.Key

Input:

This is an attributed string

Generated code before change

Captura de Tela 2020-05-18 às 10 43 54
Error: 'NSAttributedStringKey' has been renamed to 'NSAttributedString.Key'

Generated code after change

Captura de Tela 2020-05-18 às 10 44 04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant