Xcode 11 finally adds the long-awaited support for spell checking. Basically, everything inside your source editor can be spell checked: names of variables, methods and classes; string literals (including your localizable strings); comments. It works natively, without any extensions and third-parties.
Here is how to use spell checking with Xcode 11:
1. “⌘ + ;” to find next misspelled word. Works for code, strings and comments:
2. “⌘ + :” to show spelling editor with corrections.:
3. Always-enabled mode: from the menu open Edit > Format > Spelling and Grammar > Check Spelling While Typing.