Hello, I'm

Kaken He

A programmer who wanders between code and chronicles — East Asian culture, medieval Europe, and the art of building things.

Currently — Coding / Reading / Exploring

Status

Curious

Location

Wuhan, China

Local Time

Loading…

Latest Writing Hello

Featured

Notes

Note

Hello

A short hello to start the journal.

Read more

Journal

Recent Writings

Jan 11, 2026

Hello

A short hello to start the journal.

Read

Docs

References

Reference

About Swift

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.

View

Reference

Version Compatibility

This 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.

View

Reference

A Swift Tour

Tradition 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:

View

Reference

The Basics

Swift 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.

View

Reference

Basic Operators

An 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.

View

Reference

Strings and Characters

A 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.

View

Philosophy

What I Believe