[Swift] Fix syntax errors
Merge pull request #483 from phvannor/swiftqssyntax

[Swift] Fix syntax errors
[client][ios][offline] revert ios offline/v2.0 changes
Merge branch 'offline' into dev
Revert "[client][ios][offline] revert ios offline/v2.0 changes"

This reverts commit 7832f0288366a044e4ab04649c7f1948f98b07c5.