๐ฐstatement
๐ง ๆฝๅทฅไธญ
Swift โฉ statement
Swift code consists of statements.
syntax features
kinds of statements
simple statement - consists of
an expression โญ๏ธ (evaluated to a value)
or a declaration โญ๏ธ (define new variable or type)
break, continue, fallthrough, throw, return ๐ง
conditional compilation block (#if ... #endif) ๐ง
line control statement (#sourceLocation) ๐ง
compile-time diagnostic statement (#error, #warning) ๐ง
other statements
do statement
defer statement ๐ง
labeled statement ๐ง
availability condition (#available, ...) ๐ง
Last updated