# SwiftUI

### Lecture Slides

{% file src="<https://1509678725-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lwk7443W4ukbAF9S07e%2Fuploads%2FOYm8SudVRPB0emGvyUvH%2FSwiftUI-1.pdf?alt=media&token=bceeaed1-48c8-4157-bcc4-bd896c4497bf>" %}
SwiftUI Part I
{% endfile %}

{% file src="<https://1509678725-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lwk7443W4ukbAF9S07e%2Fuploads%2F2fajSXoG0mo6LZOBEMRq%2FSwiftUI-2.pdf?alt=media&token=9bbacac8-9cae-463c-bf93-7c7cdc01b5dd>" %}
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>
