Swift.codeHinter

Swift.codeHinter

Selecting a term shows the hint.

Reading a Swift tutorial or taking a Swift class or course? Select a term like class on a tutorial or reference page to see what it means right where you’re reading.

A term is a language keyword such as if, an operator such as =, or another piece of code the extension recognizes.

  1. Select a termFor a term like “is not”, select both words together. The text you selected will be highlighted.

    Double-click a single word. For an operator or a term with more than one word, drag across the whole term.

  2. Read the hint

    The popup shows a description, an example, and reference links.

The More… buttons at the bottom of the hint are “Show-in-context ↗” links. More if you need it.

Keywords (71), contextual keywords (36), operators (35), and other terms (35). With examples.

Example:

Selected termguard

Select a Swift term on a webpage, including in GitHub source, and read the hint in place. Press Escape to close it. Jump to the keyword table.

Sources

Swift lexical structure · Swift Basic Operators

Open a GitHub source file and select a term where you’re reading.

Privacy & Data

One $2.99 USD payment removes the reminder across all CodeHinters. Use Already paid? and the same purchase email to activate another edition.

We collect no data from hint lookups. Your selected text stays in Chrome, and hints come from the reference catalog bundled with the extension.

Chrome keeps your hint count, first- and last-use times, and up to three days you used a Hinter locally. That’s how it knows when to nag you.

Opening a More… link takes you to the reference site. ExtensionPay uses an installation identifier to check purchase status and handles optional checkout.

Swift example tables

With CodeHinters enabled, click a term to see its hint. Use the arrow keys to move between terms. Double-click a term or press Shift+Enter on a focused term to open its primary Show-in-context ↗ reference, even without the extension.

Keyword table

Click a keyword for its hint with the extension enabled. Double-click to open its reference, even without the extension.

Keyword (71)

#available#colorLiteral#else#elseif#endif
#fileLiteral#if#imageLiteral#keyPath#selector
#sourceLocation#unavailableAnySelf_
asassociatedtypeawaitborrowingbreak
casecatchclassconsumingcontinue
defaultdeferdeinitdoelse
enumextensionfallthroughfalsefileprivate
forfuncguardifimport
ininitinoutinternalis
letnilnonisolatedopenoperator
precedencegroupprivateprotocolpublicrepeat
rethrowsreturnselfstaticstruct
subscriptsuperswitchthrowthrows
truetrytypealiasvarwhere
while

Contextual keyword (36)

ProtocolTypeactoranyassociativity
asyncconveniencedidSetdistributeddynamic
eachfinalgetindirectinfix
isolatedlazyleftmacromutating
nonenonmutatingoptionaloverridepackage
postfixprecedenceprefixrequiredright
sendingsetsomeunownedweak
willSet

Standard library term (5)

.max.minassertassertionFailureprint

Standard library type (6)

BoolDoubleFloatIntUInt
UInt8

Reference term (1)

Boolean

Syntax (9)

/*//0b0o0x
?if letoptionalstuples

Punctuation (14)

#(),->
.:;@[
]`{}

Operator (35)

!!=!==%%=
&&&&*&+&-
**=++=-
-=.....<//=
<<<<====
===>>=>>?:
??^|||~