<aside> <img src="https://prod-files-secure.s3.us-west-2.amazonaws.com/83c75a39-3aba-4ba4-a792-7aefe4b07895/393cd135-1603-4797-8fa6-42abcfedd782/SpartaIconS24.png" alt="https://prod-files-secure.s3.us-west-2.amazonaws.com/83c75a39-3aba-4ba4-a792-7aefe4b07895/393cd135-1603-4797-8fa6-42abcfedd782/SpartaIconS24.png" width="40px" /> 목차

</aside>

<aside> <img src="/icons/code_red.svg" alt="/icons/code_red.svg" width="40px" /> 모든 토글을 열고 닫는 단축키 Windows : Ctrl + alt + t Mac : + + t

</aside>


01. Swift Convention Guide

<aside> ❗

컨밴션이란 코드를 작성할 때 지키면 좋은 통일된 규칙을 의미합니다.

⇒ 통일된 규칙이 있으면 다른 사람이 작성한 코드를 빠르게 이해할 수 있어요!

</aside>

앞으로 배울 Swift에서 통일해서 사용하면 좋은 문법은 알려드릴 예정입니다**.**

실습 하기

<aside> 1️⃣

PlayGround 를 만들어 코딩을 시작할 준비를 해주세요.

</aside>

<aside> 2️⃣

해당 실습은 빌드가 되지 않기 때문에 주석을 사용해야 해요.

/* 실습코드 */

/* 
이곳에 입력해주세요. 
개행을 해도 괜찮습니다 :) 
주석은 뒤에서 배울거에요!
*/

</aside>

<aside> 3️⃣

Camel Case 로 되어있는 단어를 10개 이상 만들어보세요!

// 샘플을 보고 10개 이상으로 만들어보세요.

my name is brody // 기본 문장
myNameIsBrody // Camel Case 

Hello World // 기본 문장 
HelloWorld  // Camel Case

</aside>

<aside> 4️⃣

아래 문장을 Camel Case로 변경해보세요.

my car is fast
myCarIsFast // 이렇게 수정해주세요.
 
she loves coding

we are learning swift

the sky is blue

i like coffee

my favorite color is red

this is a test

programming is fun

apple makes great products

teamwork is important

the cat is sleeping

i want to travel

we are developers

learning swift is easy

my computer is new

</aside>


02. 변수와 상수

<aside> 📚

<aside> 📚

let (상수)

let 상수이름: 상수의 데이터 타입 = "실제 값" 

// 변수의 이름에는 원하는 이름을 넣으시면 됩니다.
// 변수의 데이터타입에는 나중에 배울 숫자, 문자열 등이 들어갑니다.

let age: Int = 20
// 상수의 이름은 age이고 타입은 Int이며, 20을 할당합니다.