Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
Swift
/
Protocols
What does `var token: String { get }` require from a conforming type?
from Protocols
Swift 6.3.3
beginner
1 min
What does `var token: String { get }` require from a conforming type?
Readable access; the implementation may still be a mutable stored or computed property.
An immutable stored let property only.
A read-write property through every protocol value.
A static property on the conforming type.
Check
Ask AI about this kata
Report an error
previous kata
What does this program print?
Predict the output
next kata
Review a generated processor registry
Review AI code
A new version is available
Reload