KnowledgeCity

Swift Beginner: Starting Out

Learn Swift’s background.
Preview the first lesson free — get full access to all 3 lessons.

To view this video please enable JavaScript.

Course: On-Demand
Beginner  Provider Mark Nair  3 Lessons ·  16m  in Arabic, German, English, Spanish, French, Portuguese, Chinese Simplified 

Course Description

Welcome to the Swift programming language. If you’re an experienced programmer, Swift is a great language to add to your toolkit. If you’re new to coding, Swift is terrific as your starting point. In his module, you’ll learn about Swift’s history, including why it was invented and why it’s a great language to learn, especially for beginners. You’ll also learn about Swift’s main goals and objectives as a language. 

You’ll also learn about Xcode, the integrated development environment for building projects with Swift, as well as Xcode playgrounds. This is where we’ll spend most of our time learning Swift. You’ll also learn about running Swift in the command line using the REPL in the terminal and with the command line. The REPL is quite handy for testing short bits of your Swift code without having to open or start a new Xcode playground; and using the terminal is a solid skill for any developer. 

What You'll Learn

  • Understand Swift's history, including why it was invented and why it is a great language to learn
  • Recognize Swift's main goals and objectives as a language
  • Use Xcode and Xcode playgrounds as the integrated development environment for building Swift projects
  • Run Swift from the command line using the REPL in the terminal
  • Test short bits of Swift code with the REPL without starting a new Xcode playground

Key Takeaways

  • Swift is suitable both as a starting point for new coders and as an addition to an experienced programmer's toolkit.
  • Xcode is the integrated development environment for building projects with Swift, and Xcode playgrounds are where most of the learning in this module takes place.
  • The REPL is handy for testing short pieces of Swift code without opening or starting a new Xcode playground.
  • Using the terminal is a solid skill for any developer.
  • The module covers Swift's history, its main goals and objectives, Xcode playgrounds, and running Swift on the command line.

Frequently Asked Questions

Who is this course for?

It is designed both for experienced programmers who want to add Swift to their toolkit and for people who are new to coding, since Swift is described as a terrific starting point.

What does this module cover?

It covers Swift's history and why it was invented, Swift's main goals and objectives as a language, Xcode and Xcode playgrounds, and running Swift on the command line using the REPL in the terminal.

Do I need prior programming experience?

No. The course welcomes new coders and presents Swift as a great starting point, while also being valuable for experienced programmers.

What lessons are included?

The module includes three lessons: Swift Overview, Xcode, and Command Line and REPL.

What is the REPL used for in this course?

The REPL lets you test short bits of your Swift code without having to open or start a new Xcode playground, and it is run in the terminal from the command line.