# The Swift Programming Language(日本語版)

## The Swift Programming Language(日本語版)

[The Swift Programming Language](https://docs.swift.org/swift-book/)の日本語版です。

### バージョン履歴

* 2025/9/15 Swift 6.2
* 2025/3/31 Swift 6.1
* 2024/9/16 Swift 6.0
* 2023/9/18 Swift 5.9
* 2023/3/30 Swift 5.8
* 2022/9/12 Swift 5.7
* 2022/3/16 Swift 5.6
* 2021/9/21 Swift 5.5

### URL

<https://www.swiftlangjp.com>

### 開発について

[開発ガイド](https://github.com/stzn/the-swift-programming-language-jp/blob/master/CONTRIBUTION.md)を参照ください。

以下の表は用語に関する英和対応表です。これを参考にしながら、できるだけ日本語の列と合うよう表記揺れを抑えます。一般的に邦訳があるもの、Apple がドキュメント内で邦訳で言及したものについてはそれを採用し、適した訳が見つからない場合は英語のまま表記します。随時更新。

なお、英語のまま表記の大文字、小文字は、原文の記載に従います。

通常の英語と同様に文の開始は大文字、その他は小文字\
例: 開始 -> Computed property、その他 -> computed property

慣例的に大文字、小文字が決まっているもの\
例: URL、UI、Swift、SwiftUI、HTML、CSS など

| 英語              | 日本語     |
| --------------- | ------- |
| argument        | 引数      |
| array           | 配列      |
| binary          | 二項、2進   |
| character       | 文字      |
| class           | クラス     |
| enum            | 列挙型     |
| error handling  | エラー処理   |
| function        | 関数      |
| initialization  | 初期化     |
| method          | メソッド    |
| parameter       | パラメータ   |
| property        | プロパティ   |
| set             | セット     |
| string          | 文字列     |
| struct          | 構造体     |
| subscript       | サブスクリプト |
| type            | 型       |
| reference cycle | 循環参照    |

### 貢献者

|          <p><a href="https://github.com/stzn"><img src="https://avatars.githubusercontent.com/u/35151927?v=4" alt="stzn"><br><sub>Shiz</sub></a></p>          |         <p><a href="https://github.com/KaitoMuraoka"><img src="https://avatars.githubusercontent.com/u/70003919?v=4" alt="KaitoMuraoka"><br><sub>とんとんぼ</sub></a></p>         |                  <p><a href="https://github.com/t-ae"><img src="https://avatars.githubusercontent.com/u/12446914?v=4" alt="t-ae"><br><sub>T.ae</sub></a></p>                  |      <p><a href="https://github.com/ensan-hcl"><img src="https://avatars.githubusercontent.com/u/63481257?v=4" alt="ensan-hcl"><br><sub>Ensan</sub></a></p>      |      <p><a href="https://github.com/SatoTakeshiX"><img src="https://avatars.githubusercontent.com/u/4253490?v=4" alt="SatoTakeshiX"><br><sub>佐藤剛士</sub></a></p>     |    <p><a href="https://github.com/samekard-dev"><img src="https://avatars.githubusercontent.com/u/88572321?v=4" alt="samekard-dev"><br><sub>Samekard-dev</sub></a></p>   |
| :-----------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
|  <p><a href="https://github.com/sumomoneko"><img src="https://avatars.githubusercontent.com/u/6897176?v=4" alt="sumomoneko"><br><sub>Sumomoneko</sub></a></p> |             <p><a href="https://github.com/KS1019"><img src="https://avatars.githubusercontent.com/u/6828522?v=4" alt="KS1019"><br><sub>Kotaro Suto</sub></a></p>            | <p><a href="https://github.com/kishikawakatsumi"><img src="https://avatars.githubusercontent.com/u/40610?v=4" alt="kishikawakatsumi"><br><sub>Kishikawa Katsumi</sub></a></p> |      <p><a href="https://github.com/NiwakaDev"><img src="https://avatars.githubusercontent.com/u/61189782?v=4" alt="NiwakaDev"><br><sub>Niwaka</sub></a></p>     | <p><a href="https://github.com/yutailang0119"><img src="https://avatars.githubusercontent.com/u/9477376?v=4" alt="yutailang0119"><br><sub>Yutaro Muta</sub></a></p> | <p><a href="https://github.com/jollyjoester"><img src="https://avatars.githubusercontent.com/u/2178775?v=4" alt="jollyjoester"><br><sub>Hideyuki Nanashima</sub></a></p> |
|    <p><a href="https://github.com/koogawa"><img src="https://avatars.githubusercontent.com/u/893643?v=4" alt="koogawa"><br><sub>Kosuke Ogawa</sub></a></p>    |                <p><a href="https://github.com/uhooi"><img src="https://avatars.githubusercontent.com/u/21194714?v=4" alt="uhooi"><br><sub>Uhooi</sub></a></p>                |           <p><a href="https://github.com/enomoto"><img src="https://avatars.githubusercontent.com/u/1823075?v=4" alt="enomoto"><br><sub>Kenta Enomoto</sub></a></p>           |       <p><a href="https://github.com/tsubasakat"><img src="https://avatars.githubusercontent.com/u/26360184?v=4" alt="tsubasakat"><br><sub>翼</sub></a></p>       |         <p><a href="https://github.com/elmetal"><img src="https://avatars.githubusercontent.com/u/20150994?v=4" alt="elmetal"><br><sub>Elmetal</sub></a></p>        |     <p><a href="https://github.com/Ryota-Kurokawa"><img src="https://avatars.githubusercontent.com/u/119117263?v=4" alt="Ryota-Kurokawa"><br><sub>ryota</sub></a></p>    |
|       <p><a href="https://github.com/kkebo"><img src="https://avatars.githubusercontent.com/u/601636?v=4" alt="kkebo"><br><sub>Kenta Kubo</sub></a></p>       |                 <p><a href="https://github.com/DHLau"><img src="https://avatars.githubusercontent.com/u/16432625?v=4" alt="DHLau"><br><sub>Eren</sub></a></p>                |       <p><a href="https://github.com/preettrank53"><img src="https://avatars.githubusercontent.com/u/153091626?v=4" alt="preettrank53"><br><sub>Rank Preet</sub></a></p>      |      <p><a href="https://github.com/rymshm"><img src="https://avatars.githubusercontent.com/u/23201810?v=4" alt="rymshm"><br><sub>Ryo Mashima</sub></a></p>      |       <p><a href="https://github.com/tez3998"><img src="https://avatars.githubusercontent.com/u/90051826?v=4" alt="tez3998"><br><sub>Yuta Tezuka</sub></a></p>      |             <p><a href="https://github.com/27pokke"><img src="https://avatars.githubusercontent.com/u/39374059?v=4" alt="27pokke"><br><sub>ぽっけ</sub></a></p>             |
| <p><a href="https://github.com/akidon0000"><img src="https://avatars.githubusercontent.com/u/53287375?v=4" alt="akidon0000"><br><sub>akidon0000</sub></a></p> |       <p><a href="https://github.com/gitbook-bot"><img src="https://avatars.githubusercontent.com/u/31919211?v=4" alt="gitbook-bot"><br><sub>GitBook Bot</sub></a></p>       |               <p><a href="https://github.com/hira22"><img src="https://avatars.githubusercontent.com/u/31942637?v=4" alt="hira22"><br><sub>Hiraoka</sub></a></p>              | <p><a href="https://github.com/b1ackturtle"><img src="https://avatars.githubusercontent.com/u/13419249?v=4" alt="b1ackturtle"><br><sub>B1ackturtle</sub></a></p> |   <p><a href="https://github.com/orukahairuka"><img src="https://avatars.githubusercontent.com/u/132898951?v=4" alt="orukahairuka"><br><sub>sakurai</sub></a></p>   |      <p><a href="https://github.com/yuya-okuse"><img src="https://avatars.githubusercontent.com/u/47887646?v=4" alt="yuya-okuse"><br><sub>yuya\_okuse</sub></a></p>      |
|      <p><a href="https://github.com/Lumisilk"><img src="https://avatars.githubusercontent.com/u/11924267?v=4" alt="Lumisilk"><br><sub>Lumi</sub></a></p>      | <p><a href="https://github.com/treastrain"><img src="https://avatars.githubusercontent.com/u/13805382?v=4" alt="treastrain"><br><sub>Treastrain / Tanaka Ryoga</sub></a></p> |                                                                                                                                                                               |                                                                                                                                                                  |                                                                                                                                                                     |                                                                                                                                                                          |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://swift-programming-language-jp.gitbook.io/the-swift-programming-language-jp/readme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
