# Intro to Swift Fundamentals - Learn By Examples

#### Sandy Ludosky

Play Speed
• 0.5x
• 1x (Normal)
• 1.25x
• 1.5x
• 2x
11 Lessons (1h 20m)
• 1. Variables & Constants

6:19
• 2. Data Types

7:57
• 3. FOR Loop

13:10
• 4. Conditional Statements - IF/ELSE

7:05
• 5. Operators

4:42
• 6. Dictionnaries

6:06
• 7. WHILE Loop

5:02
• 8. Operators - Challenge Solution

3:43
• 9. Arrays

11:36
• 10. LOOP Challenge Solution

7:11
• 11. Switch Case

6:54

## Project Description

You will use

1. Playgrounds (available in XCode IDE)
2. Swift Programming Language Guide

Challenge Exercices =

Challenge # 1 = You will calculate prices

1. create a variable quantity (Int)
2. create a constant price (Double)
3. Calculate product
4. Print result in strin

Challenge # 2 = Grocery List

1. create a dictionnary (key/value) : 1 key for the product, 1 value for the price
3. Use a condition to check if price is < \$10
4. Add (append) to Basket products with a price lower than (<) \$10
6. Hint = you will need to use a LOOP to do the steps 3 & 4

Solutions are available in the videos. Good Luck!

What You need

• A Mac OS
• An apple developer account is not required

and, for the best learning experience

• You should a working knowledge of Swift 2.0 and XCode

To share your projects, consider using one of the outlets and resources

To share your projects, consider using one of the outlets and resources

• Screenshots
• Github to share your project files and code
• Giphy to turn showcase your app with a GIF