1
1
.
.
1
1
.
.
2
2
U
U
s
s
i
i
n
n
g
g
X
X
C
C
o
o
d
d
e
e
P
P
l
l
a
a
y
y
g
g
r
r
o
o
u
u
n
n
d
d
I
I
n
n
f
f
o
o
This tutorials shows how to create Swift application using XCode Playground.
This is alternative approach to using Online Compiler when
you are offline without Internet Connection
when you want additional functionalities supported by the Playground
XCode is IDE - Integrated Development Environment Software that can only be installed on Mac OS.
It is used to create Applications for iOS, Mac OS and other Apple related operating System.
One of its features is called Playground and it is used for fast prototyping of Swift code snippets.
C
C
r
r
e
e
a
a
t
t
e
e
P
P
r
r
o
o
j
j
e
e
c
c
t
t
[
[
R
R
]
]
Start XCode
Get started with a playground
iOS
Blank
Next
Save As: MyPlayground.playground
Create
Get started with a playground iOS - Blank
Save As: MyPlayground.playground