Hello
A short hello to start the journal.
Read moreHello, I'm
A programmer who wanders between code and chronicles — East Asian culture, medieval Europe, and the art of building things.
Currently — Coding / Reading / Exploring
Featured
A short hello to start the journal.
Read moreJournal
A short hello to start the journal.
ReadDocs
Swift is a fantastic way to write software for phones, tablets, desktops, servers, or anything else that runs code. It’s a safe and fast programming language that combines the best in modern language thinking with wisdom from a diverse open source community.
ViewThis book describes Swift 6.2.3, the default version of Swift that’s included in Xcode 26.2. You can use the Swift 6.2.3 compiler to build code that’s written in Swift 6.2.3, Swift 5, Swift 4.2, or Swift 4.
ViewTradition suggests that the first program in a new language should print the words “Hello, world!” on the screen. In Swift, this can be done in a single line:
ViewSwift provides many fundamental data types, including Int for integers, Double for floating-point values, Bool for Boolean values, and String for text. Swift also provides powerful versions of the three primary collection types, Array, Set, and Dictionary, as described in Collection Types.
ViewAn operator is a special symbol or phrase that you use to check, change, or combine values. For example, the addition operator (+) adds two numbers, as in let i = 1 + 2, and the logical AND operator (&&) combines two Boolean values, as in if enteredDoorCode && passedRetinaScan.
ViewA string is a series of characters, such as "hello, world" or "albatross". Swift strings are represented by the String type. The contents of a String can be accessed in various ways, including as a collection of Character values.
ViewPhilosophy