Closed victorg1991 closed 6 years ago
@victorg1991 Can you fix the conflicts ?
Done :D (Remember that this PR has breaking changes) we can't release a version like 7.0.X
This now depends on https://github.com/liferay/liferay-mobile-sdk/pull/52
Just started reviewing :)
:octocat: Sent from GH.
Just started reviewing :)
:octocat: Sent from GH.
Just started reviewing :)
:octocat: Sent from GH.
Thank you, pull request merged!
:octocat: Sent from GH.
This PR add some annotations to swift code in order to improve the interoperability with Swift.
Basically this annotations have information about the nullability of the different return types and parameters.
One extra thing, Xcode converts methods with a NSError** parameter into a throws function in swift but if the return type is void it doesn't do the conversion. To force Xcode to do the conversion we need to use the macro added in
Macros.h
CONVERT_ERROR_TO_THROWS. I have changed the template for generating the services to add this macro when the method returns void.Any comments or questions will be appreciated :)