No-break space causing problems in Xcode

后端 未结 3 1941
野的像风
野的像风 2021-01-11 21:13

Quite often when I code in Xcode, I type no-break space (Option + Space / Option + Shift + Space) especially before or after square brackets or curly braces. This causes Xco

3条回答
  •  花落未央
    2021-01-11 22:12

    Alt+Space command creates a special hidden character in Xcode files. You can see details of bug here.

    For more details about solution checkout my answer on Xcode - Invalid character in source file (Replace “ ” with “ ”)

提交回复
热议问题