Swiftify
Swiftify copied to clipboard
[NSFileCoordinator coordinateWritingItemAtURL:options:error:byAccessor:]
The generated code generates two errors: Value of optional type 'URL?' must be unwrapped to a value of type 'URL' and after correcting that one Cannot convert value of type 'Error?' to expected argument type 'NSError?'.
http://swiftify.me/pgqw8n
Value of optional type 'URL?' must be unwrapped to a value of type 'URL' This caused by the same name of variable and argument newURL. See fixed example: http://swiftify.me/128oqm. Anyway I've created a bug: https://swiftify.atlassian.net/browse/SWC-1042.
Cannot convert value of type 'Error?' to expected argument type 'NSError?' The same as in https://github.com/Swiftify-Corp/Swiftify/issues/21.