Learn Swift Fundamentals

Sarvesh Patel

profile
Learn Swift Fundamentals
profile
1,299
80 mins

Through this session you will get knowledge of different swift or programming fundamental given below:-


1. Variables and Constant

- Declaration and initialization

- Type inference

- Type annotations


2. Data Types

- Integers, Floats, Doubles

- Strings

- Booleans

- Optionals


3. Control Flow

- If statements

- Switch statements

- Loops (for-in, while, repeat-while)


4. Functions

- Declaration and calling

- Parameters and return types

- Default parameters

- Function types


5. Optionals

- Handling nil values

- Forced unwrapping

- Optional binding (if let, guard let)

- Nil coalescing operator


6. Arrays and Dictionaries

- Creating and modifying arrays

- Iterating through arrays

- Dictionary basics