Swiftify icon indicating copy to clipboard operation
Swiftify copied to clipboard

[NSFileCoordinator coordinateWritingItemAtURL:options:error:byAccessor:]

Open nickasd opened this issue 6 years ago • 1 comments

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

nickasd avatar Mar 02 '19 16:03 nickasd

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.

tomattoz avatar Jul 28 '20 06:07 tomattoz