Index
Symbols
+ operator
+= operator
== comparison operator
< and > comparison operators
A
acos function
arc4random function
Array
append method
existing array
item
capacity
concatenation
convert JSON string to array
count property
dictionary’s values property
element
empty property
enumerated method
equal
filter method
filter element, by index
first element
index element
index element by value
index/indices of item
initializer
insert method
join separator method
to JSON string
last element
last X elements
with literal
loop
map method
maximum value
minimum value
NSArray object
object type
random element
range creation
reduce method
removal
array item by value
duplicate elements
removeAll method
removeFirst method
removeLast method
reverse method
shuffle method
size
sorted method
stride
string object ...
Get Swift 4 Recipes: Hundreds of Useful Hand-picked Code Snippets now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.