Section 1

Preview this deck

let

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

5 years ago

Date created

Mar 1, 2020

Cards (20)

Section 1

(20 cards)

let

Front

assigns a value to a constant

Back

:quit

Front

exit Swift REPL

Back

Int

Front

data type for Integer value

Back

Float

Front

data type for decimal value with tbd places

Back

Bool

Front

A value type that evaluates to true or false.

Back

Double

Front

decimal value type with space for double (of what?) precision storage and calculation

Back

swift

Front

command to start Swift REPL

Back

REPL

Front

Read Evaluate Print Loop

Back

Dictionary

Front

collection type with keys that enable lookups for reference values

Back

import

Front

bring a set of code into the running program for example import UIKit

Back

print

Front

show on screen

Back

var

Front

Declares a variable which the line also initializes or assigns

Back

/ and /

Front

multi-line comment delimiters

Back

func

Front

defines a method in a struct-defined type

Back

struct

Front

establishes a type with the name you provide

Back

String

Front

data type for textual characters

Back

:[space]

Front

data type follows in let or var statement

Back

Array

Front

collection type for storing an ordered list of objects

Back

extension

Front

Adds new functionality to an existing class, structure, enumeration, or protocol type.

Back

//

Front

begins a one-line comment

Back