> For the complete documentation index, see [llms.txt](https://lochiwei.gitbook.io/ios/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lochiwei.gitbook.io/ios/swift/scope/framework.md).

# framework

[Swift](/ios/swift.md) ⟩ [scope](/ios/swift/scope.md) ⟩ framework&#x20;

{% hint style="success" %}
A <mark style="color:purple;">framework</mark> is a <mark style="color:yellow;">directory</mark> that contains <mark style="color:yellow;">shared resources</mark> (source files, image files, <mark style="color:orange;">localized strings</mark>, reference documentation, etc.) in a single package.&#x20;
{% endhint %}

* Multiple apps can ues all of these resources simultaneously. The system loads them into memory as needed and shares the one copy of the resources among all apps whenever possible.

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

* [built-in frameworks](/ios/swift/scope/framework/built-in-frameworks.md)
  {% endtab %}

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

* [global scope](/ios/swift/scope/global.md)
* A <mark style="color:purple;">framework</mark> is a [module](/ios/swift/scope/module.md).
  {% endtab %}
  {% endtabs %}
