Employers
Jobseekers
Recruiting Partners
Login
Join Hyring
Join Hyring
Lesson
Introduction
Get Started
Syntax
Output
Comments
Variables
Data Types
Type Casting
Operators
Strings
Arrays
Ranges
If...Else
Switch
While Loop
For Loop
Collections
Functions
Optionals
Enums & Pattern Matching
Closures
Tuples & Type Aliases
OOP
Inheritance
Polymorphism
Protocols
Generics
Extensions
Access Control
Error Handling
Concurrency
Back to lesson
Swift Get Started
Hello, Swift!
A Slightly Bigger Example
Running Code in a Playground
Run
Language:
Swift
Change Theme
Change orientation
print("Hello, Swift!")
print("Hello, Swift!")
Output
Click Run to execute this code.