# property

[Swift](https://lochiwei.gitbook.io/ios/swift) ⟩ [type](https://lochiwei.gitbook.io/ios/swift/type) ⟩ property

{% hint style="success" %}
A <mark style="color:orange;">variable</mark> defined inside a [type](https://lochiwei.gitbook.io/ios/swift/type). A <mark style="color:purple;">property</mark> can be accessed through an <mark style="color:orange;">instance</mark> of the type using <mark style="color:orange;">dot notation</mark>, for example `hopper.isFacingHole`.
{% endhint %}

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

* [computed-properties](https://lochiwei.gitbook.io/ios/swift/type/prop/computed-properties "mention")
* [wrapper](https://lochiwei.gitbook.io/ios/swift/type/prop/wrapper "mention")
* [public-property](https://lochiwei.gitbook.io/ios/swift/type/prop/public-property "mention")
  {% endtab %}

{% tab title="👥 相關" %}

* [state](https://lochiwei.gitbook.io/ios/master/term/state "mention")：current value of a variable.
  {% endtab %}
  {% endtabs %}
