Section 1

Preview this deck

string insert

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

7 years ago

Date created

Mar 1, 2020

Cards (6)

Section 1

(6 cards)

string insert

Front

"<string> \(<insert>)"

Back

array

Front

// set of given information (only one type) var <name> = [<info>, <info>] var <name>: [<type>] = []

Back

function

Front

// self-contained chunks of code that perform a specific task func <name>(<parameters, if any>) {} // function that returns information func <name>(<name>: <input>) -> <type> { <code(if any) return <stuff to return> }

Back

variable

Front

// named storage with type var <name> = info

Back

class

Front

// set of instructions (methods/properties) that can be accessed/carried out class <name> { }

Back

loop

Front

// repeats actions in it a given no. of times for <name> in 1...<Int> { } for <item> in <array> { }

Back