-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NSTextStorage readFromURL:options:documentAttributes:error] #21
Comments
We need intermediate variable here, like this:
But it looks like this is impossible to do in metadata. @alex-swiftify what do you think? |
Also we can solve this by cancelling conversion of NSDictionary to swift dictionary if explicitly need NSDictionary somewhere in method calls. And the same for another types like NSArray, NSError ... |
@tomattoz I agree that looks difficult. We already have similar reports like https://swiftify.atlassian.net/browse/SWC-875 but they look difficult. |
This looks like the way to go here. |
The converted code generates the compiler error
Cannot invoke 'read' with an argument list of type '(from: URL, options: [NSAttributedString.DocumentReadingOptionKey : String], documentAttributes: inout [AnyHashable : Any])'
.http://swiftify.me/8oosqh
The text was updated successfully, but these errors were encountered: