# initialization

[swift](https://lochiwei.gitbook.io/ios/swift) ⟩ [type](https://lochiwei.gitbook.io/ios/swift/type) ⟩ init &#x20;

{% hint style="success" %}

{% endhint %}

{% hint style="danger" %} <mark style="color:blue;">`init`</mark> 是一個 <mark style="color:orange;">keyword</mark> 不能用作 <mark style="color:orange;">identifier</mark> (方法或屬性名稱)❗️
{% endhint %}

{% tabs %}
{% tab title="🔴 主題" %}

* [class](https://lochiwei.gitbook.io/ios/swift/type/init/class "mention")
  {% endtab %}

{% tab title="📘 手冊" %}

* [Swift](https://docs.swift.org/swift-book/documentation/the-swift-programming-language) ⟩ [Initialization](https://docs.swift.org/swift-book/documentation/the-swift-programming-language/initialization/)&#x20;
  {% endtab %}

{% tab title="📗 參考" %}

* [ ] [Swift in Depth, Ch.5 Demistifying Initializers](https://livebook.manning.com/book/swift-in-depth/chapter-5/)
  {% endtab %}

{% tab title="🗺️ 圖表" %}
{% embed url="<https://www.icloud.com/keynote/0C6thrYe0GAvaKGOnaD0xMCZw>" %}
Initializer Inheritance
{% endembed %}
{% endtab %}
{% endtabs %}
