- Level Foundation
- المدة 26 ساعات hours
- الطبع بواسطة Meta
-
Offered by
عن
This course is ideal for beginners eager to learn the fundamental concepts that underpin the Swift programming language. Explore the basic programming concepts and data structures that are core to any language, while discovering the unique aspects that make Swift as versatile as it is today. In this course, you will receive hands-on practice utilizing these concepts. More specifically, you will learn how to use constants and variables with different data types and explore how to sort and store information in collection types such as arrays, tuples and dictionaries. Finally, you will discover how to make your code reusable and more expressive by using functions and closures. By the end of this course, you will be able to: • Demonstrate a working knowledge of general programming principles • Prepare your computer system for Swift programming • Show understanding of Swift syntax and how to control the flow of code • Demonstrate knowledge of how to declare, use and modify constants and variables • Differentiate between the different types of operators and their functions • Demonstrate how to create simple control flow patterns and call functions using Swift This is a beginner course for learners who would like to prepare themselves for a career in iOS development. To succeed in this course, you do not need prior web development experience, only basic internet navigation skills and an eagerness to get started with coding.الوحدات
Course introduction
1
Discussions
- What do you hope to learn?
5
Videos
- Introduction to the program
- Introduction to the course
- What kinds of careers use Swift?
- How is Swift used in the real world
- Welcome to Xcode and the playground app
3
Readings
- Course syllabus
- How to be successful in this course
- Additional resources
Basic types and variables
5
Assignment
- Self review: Working with constants and variables
- Self-review: Operators and data types
- Knowledge check: Constants, variables, data types and operators
- Self review: Working with strings in Swift
- Knowledge check: Strings
4
Videos
- Introduction to programming
- Constants, variables and data types in Swift
- Using operators in Swift
- Strings in Swift
8
Readings
- How to complete exercises
- Exercise: Working with constants and variables
- Solution: Working with constants and variables
- Exercise: Operators and data types
- Solution: Operators and data types
- Exercise: Working with strings in Swift
- Solution: Working with strings in Swift
- Additional resources
Conditions
2
Assignment
- Self-review: Work with conditional statements in Swift
- Knowledge check: Conditional statements
2
Videos
- Booleans and logical operators
- If, if/else and else/if statements
4
Readings
- Switch statements
- Exercise: Work with conditional statements in Swift
- Solution: Work with conditional statements in Swift
- Additional resources
Loops
2
Assignment
- Knowledge check: Loops
- Self-review: Using conditions and loops
2
Videos
- Basic loops in Swift
- Nested loops, break and continue
4
Readings
- Examples of loops in Swift
- Exercise: Using conditions and loops
- Solution: Using conditions and loops
- Additional resources
Optionals
2
Assignment
- Self-review: Work with optionals in Swift
- Knowledge check: Optionals
3
Videos
- Introduction to optionals
- Optionals
- Module summary: Introduction to programming in Swift
3
Readings
- Exercise: Work with optionals in Swift
- Solution: Work with optionals in Swift
- Additional resources
1
Quiz
- Module quiz: Introduction to programming in Swift
Arrays and tuples
3
Assignment
- Self-review: Arrays in Swift
- Self-review: Tuples
- Knowledge check: Arrays and tuples
3
Videos
- Arrays
- Using different types with arrays
- Tuples
4
Readings
- Exercise: Arrays in Swift
- Solution: Arrays in Swift
- Exercise: Tuples
- Solution: Tuples
Collections
4
Assignment
- Self-review: Dictionaries in Swift
- Self review: Using loops with collection types
- Knowledge check: Collections
- Module quiz: Data structures
3
Videos
- Dictionaries
- Using loops with collection types
- Module summary: Data structures
5
Readings
- Exercise: Dictionaries in Swift
- Solution: Dictionaries in Swift
- Exercise: Using loops with collection types
- Solution: Using loops with collection types
- Additional resources
Functions
3
Assignment
- Self-review: Practice using functions
- Self-review: Practice writing succinctly expressive functions
- Knowledge check: Functions
2
Videos
- Introduction to functions
- Functions in practice
7
Readings
- Functions examples
- Exercise: Practice using functions
- Solution: Practice using functions
- More function examples
- Exercise: Practice writing succinctly expressive functions
- Solution: Practice writing succinctly expressive functions
- Additional resources
Closures
3
Assignment
- Self review: Practice using closures
- Self-review: Use functions to modularize a program
- Module quiz: Functions and closures
3
Videos
- Introduction to closures
- Using closures to sort an array
- Module summary: Functions and closures
6
Readings
- Closures examples
- Exercise: Practice using closures
- Solution: Practice using closures
- Exercise: Use functions to modularize a program
- Solution: Use functions to modularize a program
- Additional resources
Structures
2
Assignment
- Self review: Create a structure with a mutating method
- Knowledge check: Structures
3
Videos
- What is a Structure?
- Working with structures
- What are mutating methods?
4
Readings
- Adding properties and methods to structures
- Exercise: Create a structure with a mutating method
- Solution: Create a structure with a mutating method
- Additional resources
Classes
3
Assignment
- Self review: Create classes with stored and computed properties
- Knowledge check: Classes in Swift
- Module quiz: Structures and classes
4
Videos
- Classes in Swift
- Reference types and value types
- Creating classes with stored and computed properties
- Module summary: Structures and classes
3
Readings
- Exercise: Create classes with stored and computed properties
- Solution: Create classes with stored and computed properties
- Additional resources
Graded assessment
4
Assignment
- Part 1: Self-review
- Part 2: Self-review
- Part 3: Self-review
- Final graded quiz: Programming fundamentals
1
Videos
- Course recap
9
Readings
- Final project: The bank account simulator
- Part 1: Create the banking system
- Part 1: Solution
- Part 2: Define the bank account operations
- Part 2: Solution
- Part 3: Manage the bank account
- Part 3: Solution
- Bank account project summary
- About the final assessment
Course wrap up
1
Discussions
- Reflect on learning
1
Videos
- Congratulations!
1
Readings
- Next steps
Auto Summary
Embark on your coding journey with the "Programming Fundamentals in Swift" course, tailored for newcomers eager to delve into the world of Swift programming. This course, offered by Coursera, focuses on the essential concepts and data structures that form the backbone of any programming language, with a special emphasis on Swift's unique features. Guided by an expert instructor, you'll gain practical experience with key programming principles. Learn to manage constants and variables across various data types, organize and manipulate data using arrays, tuples, and dictionaries, and enhance your code's efficiency and readability with functions and closures. By the end of this comprehensive 1560-minute course, you'll be equipped to: - Understand and apply general programming principles. - Set up your system for Swift development. - Navigate and utilize Swift syntax for effective code control. - Declare, use, and modify constants and variables proficiently. - Differentiate and employ various operators. - Create basic control flow patterns and invoke functions in Swift. Ideal for beginners aiming to pave their way into iOS development, this foundational course requires no prior web development experience—just basic internet navigation skills and a keen interest in coding. Enroll through Coursera's Starter subscription and take the first step towards mastering Swift and building a promising career in IT and Computer Science.

Taught by Meta Staff