# react-native-codepad-lang-swift Generated package. Do not edit by hand; run `yarn gen:languages` in the react-native-codepad repository. Grammar: alex-pinkus/tree-sitter-swift at 82bb3a533e0801fd2bbaa11dc49676e10bf41948. Queries: nvim-treesitter at e289100ff98969e118c702199d88b764ce9e7fdf. ## Install ```sh yarn add react-native-codepad react-native-codepad-lang-swift ``` Then pass `language="swift"` to `CodeEditor`. Theme token keys this package produces: ### swift - `attribute` - `boolean` - `character.special` - `comment` - `comment.documentation` - `constant.builtin` - `constant.macro` - `constructor` - `function.call` - `function.macro` - `function.method` - `keyword` - `keyword.conditional` - `keyword.conditional.ternary` - `keyword.coroutine` - `keyword.directive` - `keyword.exception` - `keyword.function` - `keyword.import` - `keyword.modifier` - `keyword.operator` - `keyword.repeat` - `keyword.return` - `keyword.type` - `label` - `number` - `number.float` - `operator` - `punctuation.bracket` - `punctuation.delimiter` - `punctuation.special` - `spell` - `string` - `string.escape` - `string.regexp` - `type` - `variable` - `variable.builtin` - `variable.member` - `variable.parameter` See the [languages guide](https://reactnativecodepad.pages.dev/guides/languages/) for aliases, injections and themes.