AdaptiveCards icon indicating copy to clipboard operation
AdaptiveCards copied to clipboard

Swift example is poorly written

Open jscalo opened this issue 5 years ago • 0 comments

The Swift example on this page looks to be written by someone that's never used Swift before:

  • There are semicolons at the end of each line
  • There are parens after each if
  • let cardParseResult should be guard let…
  • let renderResult should be guard let…
  • Forced unwrap should not be used

Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

jscalo avatar Dec 03 '20 16:12 jscalo