# Swift Basics

### Pre-Class TODOs

* [x] Install Xcode [here](https://apps.apple.com/us/app/xcode/id497799835?mt=12). If you do not have a Mac, please reach out to the instructors.
* [x] Set up Git and GitHub. Follow [this guide](https://ios-course.cornellappdev.com/guides/git-and-github/git-installation-guide).
* [x] Join our Ed Discussion (see left tab). We will post announcements here.
* [x] Fill out the course roster [here](https://docs.google.com/forms/d/1Vf8_3gLn_jsFpwGVJnnbYadWZagewKxAWgcZziMoggs/edit). (This is important and allows you to access A1 when it is released!)
* [x] Enroll on Student Center (CS1998-601).
* [x] Add the [course calendar](https://calendar.google.com/calendar/u/0?cid=Y18wM2MzYTViNWU5NDc0ZTAxMTFiMGYyMWExNWVlMzkxYzc4N2NhMWUwNzYzMjc5ODkzMzkzODAyNDE1Njg4YTQ0QGdyb3VwLmNhbGVuZGFyLmdvb2dsZS5jb20) to your GCal.
* [x] Read the Syllabus and Grading sections on the left.

{% hint style="info" %}
**If you are having trouble, please reach out to the instructors or make a post on Ed Discussion.**
{% endhint %}

### Lecture Slides

{% embed url="<https://docs.google.com/presentation/d/1pBPIro-rd6l26DkWVs5C-JQ_zNQFDM3ZIeqpyd1zx10/edit?usp=sharing>" %}

### Lecture Video

{% embed url="<https://www.youtube.com/watch?v=cfPcfUE86uE>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ios-course.cornellappdev.com/resources/archived-past-semesters/sp24/lecture/swift-basics.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
