> For the complete documentation index, see [llms.txt](https://ios-course.cornellappdev.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ios-course.cornellappdev.com/resources/textbook/swiftui.md).

# SwiftUI

### Lecture Slides

{% file src="/files/9mRBBwGjPvdz3k32erIH" %}
SwiftUI Part I
{% endfile %}

{% file src="/files/clmgh5VUaSf0lzmmjOkC" %}
SwiftUI Part II
{% endfile %}

### Lecture Video

{% embed url="<https://youtu.be/4lCu8VMXgqE>" %}
SwiftUI Part I
{% endembed %}

{% embed url="<https://youtu.be/xSktqceBLTI>" %}
SwiftUI Part II
{% endembed %}

### Lecture Demo

{% embed url="<https://github.com/intro-to-ios/lec10-swiftui-1>" %}
If you prefer to download the ZIP, go to Code > Download ZIP.
{% endembed %}

{% embed url="<https://github.com/intro-to-ios/lec11-swiftui-2.git>" %}
If you prefer to download the ZIP, go to Code > Download ZIP.
{% endembed %}

#### Clone the Repository

```sh
### Part I ###
git clone https://github.com/intro-to-ios/lec10-swiftui-1.git
OR git clone git@github.com:intro-to-ios/lec10-swiftui-1.git

### Part II ###
git clone https://github.com/intro-to-ios/lec11-swiftui-2.git
OR git clone git@github.com:intro-to-ios/lec11-swiftui-2.git
```

#### Checkout Branches

<pre class="language-sh"><code class="lang-sh">### Part I ###
<strong>git checkout origin/1-layouts
</strong>OR git checkout 1-layouts

git checkout origin/2-list
OR git checkout 2-list

git checkout origin/3-refactor
OR git checkout 3-refactor


### Part II ###
git checkout origin/1-navigation
OR git checkout 1-navigation

git checkout origin/2-button
OR git checkout 2-button

git checkout origin/3-textfield
OR git checkout 3-textfield
</code></pre>
